/* =====================================================================
   NaJedno – landing (strona główna najedno.pl)
   ===================================================================== */

/* Czcionka Inter (z naszego serwera) – na Androidzie i Windowsie wygląda prawie
   jak czcionka Apple. Na iPhonie i Macu zostaje oryginalna czcionka Apple. */
@font-face {
  font-family: "Inter NaJedno";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonty/inter-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: "Inter NaJedno";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonty/inter-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;
}

:root {
  --noc: #120d08;          /* tło – ciemny stout */
  --noc-2: #1a130c;
  --karta: #231a10;
  --karta-2: #2c2115;
  --linia: rgba(255, 214, 150, 0.12);
  --bursztyn: #f5a623;     /* piwo */
  --zloto: #ffc24a;
  --miod: #d4860b;
  --piana: #fff8e7;        /* piana */
  --tekst: #f3eadb;
  --szary: #b9a98f;
  --zielony: #3fbf6a;
  --promien: 20px;
  --szerokosc: 1160px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark; /* strona jest już ciemna – Android nie ma jej „przyciemniać” */
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* nic nie może wystawać w bok – na iPhonie samo body nie wystarcza */
  overflow-x: hidden;
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter NaJedno", "Segoe UI", Roboto, sans-serif;
  background: var(--noc);
  color: var(--tekst);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ===== PRZYCISKI ===== */
.przycisk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.przycisk:hover {
  transform: translateY(-2px);
}

.przycisk:active {
  transform: translateY(0);
}

.przycisk:focus-visible {
  outline: 3px solid var(--zloto);
  outline-offset: 3px;
}

.przycisk-duzy {
  padding: 15px 28px;
  font-size: 1.05em;
}

.przycisk-bursztyn {
  background: linear-gradient(180deg, var(--zloto), var(--bursztyn));
  color: #241703;
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.przycisk-bursztyn:hover {
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.przycisk-obrys {
  border-color: rgba(255, 214, 150, 0.35);
  color: var(--piana);
  background: rgba(255, 255, 255, 0.03);
}

.przycisk-obrys:hover {
  border-color: var(--bursztyn);
  background: rgba(245, 166, 35, 0.08);
}

.przycisk-cichy {
  color: var(--szary);
  background: none;
}

.przycisk-cichy:hover {
  color: var(--piana);
}

.przycisk-ciemny {
  background: var(--noc);
  color: var(--zloto);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.przycisk-obrys-ciemny {
  border-color: rgba(18, 13, 8, 0.5);
  color: var(--noc);
}

.przycisk-obrys-ciemny:hover {
  background: rgba(18, 13, 8, 0.08);
}

/* ===== MENU ===== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(20px, calc((100% - var(--szerokosc)) / 2));
  padding-top: calc(14px + env(safe-area-inset-top));
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.menu.przewiniete {
  background: rgba(18, 13, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linia);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25em;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo img {
  border-radius: 10px;
}

.menu-linki {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.menu-linki a {
  color: var(--szary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: color 0.2s;
}

.menu-linki a:hover {
  color: var(--piana);
}

.menu-akcje {
  display: flex;
  gap: 6px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px max(20px, calc((100% - var(--szerokosc)) / 2)) 80px;
  overflow: hidden;
  isolation: isolate;
}

.poswiata {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px 400px at 78% 45%, rgba(245, 166, 35, 0.28), transparent 70%),
    radial-gradient(500px 360px at 10% 10%, rgba(212, 134, 11, 0.18), transparent 70%),
    radial-gradient(900px 500px at 50% 120%, rgba(245, 166, 35, 0.16), transparent 70%);
}

/* Unoszące się bąbelki (tworzone w landing.js) */
.babelki {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.babel {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 150, 0.45);
  background: radial-gradient(circle at 30% 30%, rgba(255, 248, 231, 0.55), rgba(255, 194, 74, 0.08) 60%);
  animation: babel linear infinite;
  opacity: 0;
}

@keyframes babel {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translate(14px, -50vh); }
  90% { opacity: 0.5; }
  100% { transform: translate(-10px, -105vh); opacity: 0; }
}

.naklejka {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.35);
  background: rgba(245, 166, 35, 0.1);
  color: var(--zloto);
  font-weight: 700;
  font-size: 0.85em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.wyroznienie {
  display: block;
  background: linear-gradient(100deg, var(--zloto) 10%, var(--bursztyn) 45%, #ffdf9e 60%, var(--bursztyn) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: polysk 6s linear infinite;
}

@keyframes polysk {
  to { background-position: -200% center; }
}

.hero-opis {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--szary);
  max-width: 34em;
  margin: 22px 0 30px;
}

.hero-przyciski {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-plusy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: var(--szary);
  font-size: 0.92em;
  font-weight: 600;
}

/* ===== TELEFON ===== */
.hero-telefon {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.telefon {
  position: relative;
  width: 300px;
  height: 610px;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(145deg, #3a2d1f, #0b0805 40%, #2a2016);
  box-shadow:
    0 0 0 1px rgba(255, 214, 150, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(245, 166, 35, 0.25);
  transform: rotate(-4deg);
  animation: unosi 7s ease-in-out infinite;
}

@keyframes unosi {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-14px); }
}

.wyciecie {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #050302;
  z-index: 3;
}

.ekran {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fdf6e9;
  display: flex;
  flex-direction: column;
  color: #2a2118;
  font-size: 11px;
}

.ek-naglowek {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 46px 16px 10px;
  background: #2a2118;
  color: #fff8e7;
  font-weight: 800;
  font-size: 13px;
}

.ek-przelacznik {
  width: 30px;
  height: 17px;
  border-radius: 9px;
  background: var(--bursztyn);
  position: relative;
}

.ek-przelacznik i {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}

.ek-mapa {
  position: relative;
  flex: 1;
  background: #efe7d6;
  overflow: hidden;
}

.ek-ulice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ek-ulice path {
  fill: none;
  stroke: #fff;
  stroke-width: 9;
  stroke-linecap: round;
}

.ek-ulice path.waska {
  stroke-width: 4;
}

.ek-ulice path.rzeka {
  stroke: #b8d8ea;
  stroke-width: 16;
}

.ek-zasieg {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 230px;
  height: 230px;
  margin: -115px 0 0 -115px;
  border-radius: 50%;
  border: 2px solid rgba(245, 166, 35, 0.8);
  background: rgba(245, 166, 35, 0.08);
}

.ek-ja {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #2b7bf3;
  border: 3px solid #fff;
  animation: puls 2s infinite;
}

@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(43, 123, 243, 0.6); }
  100% { box-shadow: 0 0 0 18px rgba(43, 123, 243, 0); }
}

.ek-pin {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--k);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  animation: wyskok 4s ease-in-out infinite;
}

.p1 { left: 58%; top: 30%; animation-delay: 0s; }
.p2 { left: 20%; top: 56%; animation-delay: 1s; }
.p3 { left: 70%; top: 66%; animation-delay: 2s; }
.p4 { left: 32%; top: 18%; animation-delay: 3s; }

@keyframes wyskok {
  0%, 80%, 100% { transform: translateY(0) scale(1); }
  88% { transform: translateY(-6px) scale(1.12); }
}

.ek-pub {
  position: absolute;
  font-size: 16px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

.b1 { left: 44%; top: 62%; }
.b2 { left: 78%; top: 40%; }
.b3 { left: 12%; top: 32%; }

.ek-lista {
  background: #fff;
  padding-bottom: 14px;
}

.ek-zakladki {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #f0e6d4;
  padding: 8px 4px;
  color: #7a6f62;
  font-weight: 700;
}

.ek-zakladki b {
  color: #2a2118;
  border-bottom: 2px solid var(--bursztyn);
  padding-bottom: 4px;
}

.ek-zakladki i {
  font-style: normal;
  background: var(--bursztyn);
  border-radius: 8px;
  padding: 0 5px;
  font-size: 9px;
}

.ek-osoba {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #f5eddf;
}

.ek-awatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--k);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.ek-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ek-info small {
  color: #7a6f62;
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ek-odl {
  color: var(--miod);
  font-weight: 800;
  font-size: 10px;
  white-space: nowrap;
}

/* Latające karteczki */
.dymek-lata {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 248, 231, 0.97);
  color: #2a2118;
  font-weight: 700;
  font-size: 0.9em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: lata 6s ease-in-out infinite;
  max-width: 240px;
}

.d1 {
  top: 13%;
  left: -2%;
  border-bottom-left-radius: 4px;
}

.d2 {
  bottom: 22%;
  right: -4%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation-delay: 1.5s;
}

.d2 small {
  color: #7a6f62;
  font-weight: 600;
}

.mini-zgoda {
  margin-top: 6px;
  align-self: flex-start;
  background: var(--zielony);
  color: #fff;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.9em;
}

.d3 {
  bottom: 5%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: 3s;
  background: rgba(35, 26, 16, 0.95);
  color: var(--piana);
  border: 1px solid var(--linia);
}

.d3 span:last-child {
  display: flex;
  flex-direction: column;
}

.d3 small {
  color: var(--szary);
  font-weight: 500;
}

.dz-ikona {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bursztyn);
  display: grid;
  place-items: center;
}

@keyframes lata {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

/* ===== PASEK (przewijający się) ===== */
.pasek {
  border-block: 1px solid var(--linia);
  background: var(--noc-2);
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.pasek-tor {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: tasma 40s linear infinite;
  font-weight: 700;
  color: var(--szary);
}

.pasek-tor span {
  white-space: nowrap;
}

@keyframes tasma {
  to { transform: translateX(-50%); }
}

/* ===== SEKCJE ===== */
.sekcja {
  padding: 110px max(20px, calc((100% - var(--szerokosc)) / 2));
}

.sekcja-ciemniejsza {
  background: linear-gradient(180deg, var(--noc-2), var(--noc));
}

.sekcja-naglowek {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.nadtytul {
  display: inline-block;
  color: var(--bursztyn);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8em;
  margin-bottom: 12px;
}

.sekcja h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900;
}

/* ===== KROKI ===== */
.kroki {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.kroki::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.5), transparent);
}

.krok {
  position: relative;
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--promien);
  background: linear-gradient(180deg, var(--karta), transparent);
  border: 1px solid var(--linia);
}

.krok-nr {
  position: absolute;
  top: 14px;
  right: 18px;
  font-weight: 900;
  font-size: 2.6em;
  color: rgba(245, 166, 35, 0.14);
  line-height: 1;
}

.krok-ikona {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  font-size: 30px;
  background: radial-gradient(circle at 30% 30%, #3a2b1a, var(--karta-2));
  border: 1px solid rgba(245, 166, 35, 0.35);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.15);
  position: relative;
  z-index: 1;
}

.krok h3 {
  font-size: 1.15em;
  margin-bottom: 8px;
}

.krok p {
  color: var(--szary);
  margin: 0;
  font-size: 0.95em;
}

/* ===== ANIMACJA „JAK TO DZIAŁA” (telefon z 4 scenami) ===== */
.demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 auto 46px;
}

.demo-telefon {
  position: relative;
  width: 272px;
  height: 552px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(145deg, #3a2d1f, #0b0805 40%, #2a2016);
  box-shadow:
    0 0 0 1px rgba(255, 214, 150, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 110px rgba(245, 166, 35, 0.22);
}

.demo-wyciecie {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  border-radius: 20px;
  background: #050302;
  z-index: 5;
}

.demo-ekran {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: #120d08;
  color: #f3eadb;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.scena {
  position: absolute;
  inset: 0;
  padding: 46px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.scena.aktywna {
  opacity: 1;
  visibility: visible;
}

/* elementy scen pojawiają się po kolei, gdy scena jest aktywna */
.scena.aktywna .sc-formularz > *,
.scena.aktywna .sc-dymek,
.scena.aktywna .sc-termin,
.scena.aktywna .sc-nadchodzace {
  animation: sc-pojaw 0.45s ease both;
}

.scena.aktywna .sc-formularz > :nth-child(2) { animation-delay: 0.1s; }
.scena.aktywna .sc-formularz > :nth-child(3) { animation-delay: 0.15s; }
.scena.aktywna .sc-formularz > :nth-child(4) { animation-delay: 0.45s; }
.scena.aktywna .sc-formularz > :nth-child(5) { animation-delay: 0.5s; }
.scena.aktywna .sc-formularz > :nth-child(6) { animation-delay: 0.55s; }
.scena.aktywna .sc-formularz > :nth-child(7) { animation-delay: 0.7s; }
.scena.aktywna .sc-formularz > :nth-child(8) { animation-delay: 0.9s; }

@keyframes sc-pojaw {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.sc-pasek {
  font-weight: 900;
  font-size: 14px;
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 214, 150, 0.12);
}

.sc-formularz {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sc-etykieta {
  font-weight: 800;
  font-size: 10.5px;
  color: #b9a98f;
  margin-top: 3px;
}

.sc-pole {
  padding: 8px 10px;
  border-radius: 10px;
  background: #1b140d;
  border: 1px solid rgba(255, 214, 150, 0.2);
  font-weight: 700;
  text-align: center;
}

.sc-formularz .sc-pole:not(.sc-zloty) {
  text-align: left;
}

.sc-zloty,
.sc-przycisk,
.sc-mini.sc-cel {
  background: linear-gradient(180deg, #ffc24a, #f5a623);
  color: #241703;
  border-color: #f5a623;
}

.sc-dwa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.sc-przycisk {
  position: relative;
  margin-top: 8px;
  padding: 10px;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  font-size: 13px;
}

/* „palec”: kółko, które stuka w przycisk */
.sc-cel {
  position: relative;
}

.sc-cel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(255, 248, 231, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
}

.scena.aktywna .sc-cel {
  animation: sc-nacisk 0.3s ease 1;
}

.scena.aktywna .sc-cel::after {
  animation: sc-palec 1.1s ease both;
}

.scena[data-scena="0"].aktywna .sc-cel,
.scena[data-scena="0"].aktywna .sc-cel::after { animation-delay: 1.9s; }
.scena[data-scena="1"].aktywna .sc-cel,
.scena[data-scena="1"].aktywna .sc-cel::after { animation-delay: 2.6s; }
.scena[data-scena="2"].aktywna .sc-cel,
.scena[data-scena="2"].aktywna .sc-cel::after { animation-delay: 1.9s; }

@keyframes sc-palec {
  0% { opacity: 0; transform: translate(14px, 18px) scale(1.3); }
  35% { opacity: 1; transform: none; }
  50% { opacity: 1; transform: scale(0.75); }
  65% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes sc-nacisk {
  0%, 100% { transform: none; }
  50% { transform: scale(0.94); }
}

/* krótkie powiadomienie na dole ekranu */
.sc-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff8e7;
  color: #241703;
  font-weight: 800;
  font-size: 10.5px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.scena.aktywna .sc-toast {
  animation: sc-z-dolu 0.4s ease 2.6s both;
}

@keyframes sc-z-dolu {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* mapa (scena 2) */
.sc-mapa {
  position: absolute;
  inset: 0;
  background: #1f2835;
  overflow: hidden;
}

.sc-ulica {
  position: absolute;
  background: #3b4a5c;
  border-radius: 4px;
}

.sc-ulica.u1 { left: -20px; right: -20px; top: 42%; height: 9px; transform: rotate(-14deg); }
.sc-ulica.u2 { top: -20px; bottom: -20px; left: 58%; width: 7px; transform: rotate(8deg); }
.sc-ulica.u3 { left: -20px; right: 30%; top: 70%; height: 5px; transform: rotate(10deg); }

.sc-zasieg {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 190px;
  height: 190px;
  margin: -95px 0 0 -95px;
  border-radius: 50%;
  border: 2px solid rgba(245, 166, 35, 0.8);
  background: rgba(245, 166, 35, 0.06);
}

.sc-pin {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}

.scena.aktywna .sc-pin {
  animation: sc-pin 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.2s both;
}

@keyframes sc-pin {
  from { opacity: 0; transform: translate(-50%, -90%) scale(0.5); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.sc-awatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid #f5a623;
}

.sc-awatar.a-m { background: #c4581a; }
.sc-awatar.a-k { background: #7a4fd0; }

.sc-pin .sc-awatar {
  width: 38px;
  height: 38px;
  font-size: 15px;
  box-shadow: 0 0 0 3px rgba(255, 194, 74, 0.35), 0 6px 16px rgba(0, 0, 0, 0.6);
}

.sc-kufel {
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  background: linear-gradient(180deg, #ffc24a, #f5a623);
  box-shadow: 0 0 0 2px #1f2835;
}

/* powiadomienie wysuwane z góry */
.sc-push {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 40px;
  z-index: 3;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(44, 33, 21, 0.97);
  border: 1px solid rgba(245, 166, 35, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.sc-push b,
.sc-push small {
  display: block;
}

.sc-push small {
  color: #b9a98f;
  font-size: 10.5px;
}

.scena.aktywna .sc-push {
  animation: sc-z-gory 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.5s both;
}

.scena.aktywna .sc-przypomnienie {
  top: auto;
  bottom: 16px;
  animation: sc-z-dolu 0.45s ease 1.7s both;
}

@keyframes sc-z-gory {
  from { opacity: 0; transform: translateY(-140%); }
  to { opacity: 1; transform: none; }
}

/* karta wyjścia na dole mapy */
.sc-karta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  z-index: 2;
  padding: 11px;
  border-radius: 18px;
  background: linear-gradient(180deg, #2c2115, #231a10);
  border: 1px solid rgba(255, 214, 150, 0.2);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.scena.aktywna .sc-karta {
  animation: sc-z-dolu 0.45s ease 1.4s both;
}

.sc-kto {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-kto small {
  display: block;
  color: #b9a98f;
  font-size: 10.5px;
}

/* czat (scena 3) */
.sc-czat-gora {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sc-czat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.sc-dymek {
  max-width: 86%;
  padding: 8px 10px;
  border-radius: 14px;
}

.sc-dymek.jej {
  align-self: flex-start;
  background: #2c2115;
  border-bottom-left-radius: 4px;
}

.sc-dymek.sc-info {
  align-self: center;
  max-width: 94%;
  text-align: center;
  font-size: 10.5px;
  background: rgba(63, 191, 106, 0.14);
  border: 1px solid rgba(63, 191, 106, 0.4);
  color: #c9f0d6;
}

.scena.aktywna .sc-dymek:nth-child(2) { animation-delay: 0.6s; }
.scena.aktywna .sc-dymek.sc-info { animation-delay: 2.6s; }

.sc-decyzja {
  margin-top: 7px;
}

.sc-mini {
  padding: 6px 4px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  font-size: 10.5px;
}

.sc-mini.sc-szary {
  border: 1px solid rgba(255, 214, 150, 0.22);
  color: #b9a98f;
}

/* terminy (scena 4) */
.sc-zakladki {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 10px;
  color: #b9a98f;
  border-bottom: 1px solid rgba(255, 214, 150, 0.12);
  padding-bottom: 6px;
}

.sc-zakladki .akt {
  color: #ffc24a;
  box-shadow: 0 7px 0 -4px #f5a623;
}

.sc-nadchodzace {
  color: #ffc24a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-termin {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2c2115, #231a10);
  border: 1px solid rgba(245, 166, 35, 0.4);
  box-shadow: inset 4px 0 0 #f5a623;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scena.aktywna .sc-termin { animation-delay: 0.3s; }

.sc-odliczanie {
  font-weight: 900;
  font-size: 15px;
  color: #ffc24a;
}

.sc-link {
  color: #ffc24a;
  font-weight: 700;
  text-decoration: underline;
}

/* podpis i kropki pod telefonem */
.demo-opis {
  text-align: center;
  max-width: 420px;
  min-height: 92px;
}

.demo-krok {
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zloto);
}

.demo-tekst {
  margin: 6px 0 12px;
  font-weight: 700;
  font-size: 1.08em;
  color: var(--piana);
}

.demo-kropki {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.demo-kropki button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background: rgba(255, 214, 150, 0.25);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}

.demo-kropki button.aktywna {
  width: 26px;
  background: var(--bursztyn);
}

/* karta kroku zgodna z aktualną sceną */
.krok {
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.krok.aktywny {
  border-color: rgba(245, 166, 35, 0.6);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.25), 0 18px 40px rgba(245, 166, 35, 0.12);
}

/* ===== KAFLE Z FUNKCJAMI ===== */
.kafle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kafel {
  position: relative;
  padding: 26px;
  border-radius: var(--promien);
  background: var(--karta);
  border: 1px solid var(--linia);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.kafel:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 166, 35, 0.15);
}

.kafel-szeroki {
  grid-column: span 2;
}

.kafel-mapa {
  background:
    radial-gradient(260px 180px at 90% 10%, rgba(245, 166, 35, 0.22), transparent 70%),
    var(--karta);
}

.kafel-profil {
  background:
    radial-gradient(260px 180px at 0% 100%, rgba(245, 166, 35, 0.18), transparent 70%),
    var(--karta);
}

.kafel-ikona {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  font-size: 24px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.25);
  margin-bottom: 16px;
}

.kafel h3 {
  font-size: 1.15em;
  margin-bottom: 8px;
}

.kafel p {
  margin: 0;
  color: var(--szary);
  font-size: 0.95em;
}

.kafel-chipy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.kafel-chipy span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8em;
  font-weight: 700;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.25);
  color: var(--zloto);
}

/* ===== BEZPIECZEŃSTWO ===== */
.bezpieczenstwo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.bezpieczenstwo-tekst p {
  color: var(--szary);
  font-size: 1.1em;
  margin: 20px 0 28px;
}

.tarcze {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tarcze li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--karta);
  border: 1px solid var(--linia);
  color: var(--szary);
  font-size: 0.92em;
}

.tarcze li > span {
  font-size: 22px;
  flex-shrink: 0;
}

.tarcze b {
  display: block;
  color: var(--piana);
  margin-bottom: 2px;
}

/* ===== POBIERZ ===== */
.sekcja-pobierz {
  position: relative;
}

.pobierz-karta {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 28px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(245, 166, 35, 0.2), transparent 70%),
    linear-gradient(180deg, var(--karta-2), var(--karta));
  border: 1px solid rgba(245, 166, 35, 0.3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), 0 0 80px rgba(245, 166, 35, 0.1);
}

.pobierz-naglowek {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}

.pobierz-ikona {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.35);
  flex-shrink: 0;
}

.pobierz-naglowek p {
  margin: 8px 0 0;
  color: var(--szary);
}

.urzadzenia {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--linia);
  margin-bottom: 26px;
}

.urzadzenia button {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--szary);
  font: inherit;
  font-weight: 800;
  white-space: nowrap; /* ikonka i nazwa w jednej linii */
  min-width: 0; /* na wąskim telefonie przycisk może się zwęzić, zamiast rozpychać stronę */
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.urzadzenia button[aria-selected="true"] {
  background: var(--bursztyn);
  color: #241703;
}

.instrukcja .przycisk-instaluj {
  width: 100%;
  margin-bottom: 22px;
}

.instrukcja-kroki {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  counter-reset: krok;
}

.instrukcja-kroki li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--linia);
  color: var(--szary);
  font-size: 0.92em;
  counter-increment: krok;
}

.instrukcja-kroki b {
  display: block;
  color: var(--piana);
}

.instrukcja-kroki b::before {
  content: counter(krok) ". ";
  color: var(--bursztyn);
}

.ik {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.14);
  font-size: 20px;
  font-weight: 900;
  color: var(--zloto);
  flex-shrink: 0;
}

.instrukcja-uwaga {
  margin: 18px 0 0;
  color: var(--szary);
  font-size: 0.9em;
}

.komputer {
  display: flex;
  gap: 30px;
  align-items: center;
}

.qr-ramka {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--karta-2), var(--karta));
  border: 1px solid rgba(245, 166, 35, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 50px rgba(245, 166, 35, 0.14);
  flex-shrink: 0;
}

/* sam kod: ciemne kropki na ciepłym, jasnym tle (tak skanuje się najpewniej) */
.kod-qr {
  width: 196px;
  height: 196px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(160deg, #fff8e7 0%, #ffeec7 100%);
  box-shadow: inset 0 0 0 1px rgba(245, 166, 35, 0.35);
  box-sizing: border-box;
}

.kod-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-ramka small {
  color: var(--zloto);
  font-weight: 800;
  font-size: 0.82em;
  letter-spacing: 0.02em;
}

.komputer-tekst h3 {
  font-size: 1.3em;
}

.komputer-tekst p {
  color: var(--szary);
  margin: 10px 0;
}

.komputer-tekst .przycisk {
  margin: 6px 6px 0 0;
}

/* ===== FAQ ===== */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  border-radius: 16px;
  background: var(--karta);
  border: 1px solid var(--linia);
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: rgba(245, 166, 35, 0.35);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-weight: 800;
  font-size: 1.05em;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  /* plusik z dwóch kresek – zawsze dokładnie na środku kółka (znak „+” z czcionki siedział za nisko) */
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--bursztyn), var(--bursztyn)) center / 12px 2px no-repeat,
    linear-gradient(var(--bursztyn), var(--bursztyn)) center / 2px 12px no-repeat,
    rgba(245, 166, 35, 0.14);
  transition: transform 0.2s, background-color 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--szary);
}

/* ===== OSTATNIE WEZWANIE ===== */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 100px 20px;
  margin: 0 max(20px, calc((100% - var(--szerokosc)) / 2)) 80px;
  border-radius: 32px;
  background: linear-gradient(160deg, #ffd27a 0%, var(--bursztyn) 45%, var(--miod) 100%);
  color: #241703;
  box-shadow: 0 40px 100px rgba(245, 166, 35, 0.25);
}

.final h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-top: 20px;
}

.final p {
  font-size: 1.15em;
  margin: 14px 0 30px;
  opacity: 0.85;
  font-weight: 600;
}

.final .hero-przyciski {
  justify-content: center;
}

.babelki-final .babel {
  border-color: rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1) 60%);
}

/* ===== STOPKA ===== */
.stopka {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  padding: 40px max(20px, calc((100% - var(--szerokosc)) / 2));
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linia);
  color: var(--szary);
  font-size: 0.9em;
}

.stopka-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--piana);
  font-size: 1.1em;
}

.stopka-logo img {
  border-radius: 8px;
}

.stopka-odpowiedzialnie {
  flex: 1 1 320px;
  margin: 0;
}

.stopka-linki {
  display: flex;
  gap: 18px;
}

.stopka-linki a {
  text-decoration: none;
}

.stopka-linki a:hover {
  color: var(--piana);
}

/* ===== POWIADOMIENIE ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--piana);
  color: #241703;
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-width: calc(100% - 32px);
  text-align: center;
}

/* ===== POJAWIANIE SIĘ PRZY PRZEWIJANIU ===== */
[data-pokaz] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-pokaz].widoczne {
  opacity: 1;
  transform: none;
}

.kroki [data-pokaz]:nth-child(2), .kafle [data-pokaz]:nth-child(2) { transition-delay: 0.08s; }
.kroki [data-pokaz]:nth-child(3), .kafle [data-pokaz]:nth-child(3) { transition-delay: 0.16s; }
.kroki [data-pokaz]:nth-child(4), .kafle [data-pokaz]:nth-child(4) { transition-delay: 0.24s; }

/* ===== TABLET ===== */
@media (max-width: 980px) {
  .menu-linki {
    display: none;
  }

  .menu-akcje {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 110px;
  }

  .hero-opis {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-przyciski,
  .hero-plusy {
    justify-content: center;
  }

  .kroki {
    grid-template-columns: 1fr 1fr;
  }

  .kroki::before {
    display: none;
  }

  .kafle {
    grid-template-columns: 1fr 1fr;
  }

  .bezpieczenstwo {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ===== TELEFON ===== */
@media (max-width: 620px) {
  .sekcja {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .przycisk-cichy {
    display: none;
  }

  .hero-przyciski .przycisk {
    width: 100%;
  }

  .telefon {
    width: 260px;
    height: 530px;
  }

  .dymek-lata {
    font-size: 0.8em;
    max-width: 190px;
  }

  .d1 { left: 0; top: 6%; }
  .d2 { right: 0; }
  .d3 { left: 0; bottom: 2%; }

  .kroki,
  .kafle,
  .tarcze,
  .instrukcja-kroki {
    grid-template-columns: 1fr;
  }

  .kafel-szeroki {
    grid-column: auto;
  }

  .pobierz-karta {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .pobierz-naglowek {
    flex-direction: column;
    text-align: center;
  }

  .urzadzenia {
    gap: 4px;
  }

  .urzadzenia button {
    font-size: 0.8em;
    padding: 9px 2px;
  }

  .komputer {
    flex-direction: column;
    text-align: center;
  }

  .final {
    padding: 80px 18px;
    border-radius: 24px;
  }

  .final .przycisk {
    width: 100%;
  }

  .stopka {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  /* wszystko w szerokości ekranu (bez wychodzenia w bok) */
  .stopka > * {
    max-width: 100%;
  }

  /* na komputerze ten akapit rozciąga się w poziomie – na telefonie (układ pionowy) bez rozciągania */
  .stopka-odpowiedzialnie {
    flex: none;
  }

  /* linki zawijają się w kilka rzędów, wyśrodkowane */
  .stopka-linki {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  .stopka-linki a {
    white-space: nowrap;
  }
}

/* Dla osób, które wyłączyły animacje w systemie */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-pokaz] {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Zakładka "Komputer" otwarta na telefonie */
.na-telefonie {
  text-align: center;
  padding: 10px 0;
}

.na-telefonie-ikona {
  font-size: 44px;
}

.na-telefonie h3 {
  font-size: 1.25em;
  margin: 10px 0 8px;
}

.na-telefonie p {
  color: var(--szary);
  margin: 0 0 20px;
}

.na-telefonie-przyciski {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* =====================================================================
   STRONY DOKUMENTÓW (Regulamin, Polityka prywatności)
   ===================================================================== */
.strona-dokumentu .menu {
  position: sticky;
}

.dokument {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  line-height: 1.7;
}

.dokument h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.dokument-meta {
  color: var(--szary);
  margin: 0 0 30px;
}

.dokument section {
  padding-top: 10px;
  margin-bottom: 26px;
}

.dokument h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--zloto);
  margin: 18px 0 10px;
}

.dokument p,
.dokument li {
  color: #ddd0bb;
}

.dokument ol,
.dokument ul {
  padding-left: 22px;
}

.dokument li {
  margin-bottom: 6px;
}

.dokument b {
  color: var(--piana);
}

.dokument a {
  color: var(--zloto);
}

.spis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 4px 20px;
  padding: 18px 20px;
  margin-bottom: 30px;
  border-radius: 16px;
  background: var(--karta);
  border: 1px solid var(--linia);
}

.spis a {
  color: var(--szary);
  text-decoration: none;
  font-size: 0.92em;
  padding: 3px 0;
}

.spis a:hover {
  color: var(--zloto);
}

.w-skrocie {
  padding: 4px 22px 10px;
  margin-bottom: 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.14), rgba(245, 166, 35, 0.04));
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.w-skrocie ul {
  list-style: none;
  padding: 0;
}

.tabela-przewijana {
  overflow-x: auto;
  margin: 10px 0 16px;
  border-radius: 14px;
  border: 1px solid var(--linia);
}

.dokument table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93em;
}

.dokument th,
.dokument td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--linia);
  color: #ddd0bb;
}

.dokument th {
  background: var(--karta-2);
  color: var(--zloto);
  font-weight: 800;
}

.dokument tr:last-child td {
  border-bottom: none;
}

/* Miejsca do uzupełnienia danymi właściciela serwisu */
mark.uzupelnij {
  background: rgba(255, 107, 94, 0.18);
  color: #ffb1a8;
  border: 1px dashed #ff6b5e;
  border-radius: 6px;
  padding: 0 5px;
}

/* =====================================================================
   TELEFON: spokojniejszy pierwszy ekran + podpowiedź, że niżej jest więcej
   ===================================================================== */
.przewin-dalej {
  display: none;
}

@media (max-width: 620px) {
  .tylko-szeroki {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 8px;
    padding-top: calc(env(safe-area-inset-top) + 104px);
    padding-bottom: 24px;
  }

  .naklejka {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
    line-height: 1.04;
  }

  .hero-opis {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 30ch;
    margin: 20px auto 30px;
  }

  .hero-przyciski {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .hero-przyciski .przycisk-bursztyn {
    width: 100%;
    padding: 16px 24px;
  }

  /* drugi przycisk jako dyskretny link */
  .hero-przyciski .przycisk-drugorzedny {
    width: auto;
    border: none;
    background: none;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--szary);
    box-shadow: none;
  }

  .hero-przyciski .przycisk-drugorzedny:hover {
    color: var(--piana);
    background: none;
  }

  /* te same informacje są w przewijanym pasku niżej */
  .hero .hero-plusy {
    display: none;
  }

  /* podpowiedź do przewijania */
  .przewin-dalej {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 26px auto 0;
    color: var(--bursztyn);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .przewin-dalej i {
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1;
    animation: podskok 1.8s ease-in-out infinite;
  }

  /* telefon wystaje u dołu pierwszego ekranu – widać, że dalej coś jest */
  .hero-telefon {
    padding-top: 10px;
    transform: scale(0.92);
    transform-origin: top center;
    margin-bottom: -30px;
  }
}

@keyframes podskok {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Samsung Internet: gdy telefon ma tryb ciemny, przeglądarka sprawdza, czy strona
   ma własny ciemny wygląd – mamy, więc niech nie przemalowuje kolorów */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

/* Logo i przycisk „Pobierz” zawsze mieszczą się w nagłówku */
.menu .logo {
  min-width: 0;
}

.menu-akcje {
  flex-shrink: 0;
}

.menu-akcje .przycisk {
  white-space: nowrap;
}

/* Stopka na komputerze i tablecie: dwa równe rzędy
   [logo ............ linki]
   [ostrzeżenie ......... ©] */
@media (min-width: 900px) {
  .stopka {
    display: grid;
    grid-template-columns: 1fr auto; /* linki mają tyle miejsca, ile potrzebują – w jednej linii */
    grid-template-areas:
      "logo linki"
      "uwaga prawa";
    align-items: center;
    gap: 18px 30px;
  }

  .stopka-logo {
    grid-area: logo;
  }

  .stopka-linki {
    grid-area: linki;
    justify-self: end;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .stopka-odpowiedzialnie {
    grid-area: uwaga;
  }

  .stopka > small {
    grid-area: prawa;
    justify-self: end;
    white-space: nowrap;
  }
}

/* ===== Liczby pod przyciskami: zarejestrowani · online ===== */
.licznik-spolecznosci {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.06);
  border: 1px solid var(--linia);
  color: var(--szary);
  font-weight: 600;
  font-size: 0.92em;
}

.licznik-spolecznosci[hidden] {
  display: none;
}

.licznik-spolecznosci b {
  color: var(--piana);
}

.licznik-spolecznosci .kreska {
  opacity: 0.5;
}

.kropka-online {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fbf6a;
  animation: puls-online 2s infinite;
}

@keyframes puls-online {
  0% { box-shadow: 0 0 0 0 rgba(63, 191, 106, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(63, 191, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 191, 106, 0); }
}

@media (max-width: 620px) {
  .licznik-spolecznosci {
    margin-top: 6px;
    font-size: 0.82em;
  }
}

/* =====================================================================
   STRONA „WSPÓŁPRACA” (najedno.pl/wspolpraca)
   ===================================================================== */
.wsp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: calc(130px + env(safe-area-inset-top)) max(20px, calc((100% - 860px) / 2)) 70px;
}

.wsp-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.wsp-hero .wyroznienie {
  color: var(--zloto);
}

.wsp-lead {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.12em;
  color: var(--szary);
}

.wsp-lead b {
  color: var(--piana);
}

.wsp-hero .hero-przyciski {
  justify-content: center;
}

.wsp-dwie {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.wsp-dwie-rowne {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.wsp-dwie-rowne .kafel .przycisk {
  margin-top: 16px;
}

.wsp-dwie h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 8px 0 14px;
}

.wsp-opis {
  color: var(--szary);
  font-size: 1.05em;
}

.wsp-opis b {
  color: var(--piana);
}

.wsp-zalety {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wsp-zalety li {
  position: relative;
  padding-left: 30px;
  color: var(--szary);
}

.wsp-zalety li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #241703;
  background: linear-gradient(180deg, var(--zloto), var(--bursztyn));
}

.wsp-zalety b {
  color: var(--piana);
}

/* makieta karty spotkania z przyciskiem taxi */
.wsp-makieta {
  display: flex;
  justify-content: center;
}

.wsp-karta {
  width: 100%;
  max-width: 330px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--karta-2), var(--karta));
  border: 1px solid rgba(245, 166, 35, 0.35);
  box-shadow: inset 4px 0 0 #3fbf6a, 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(245, 166, 35, 0.12);
  transform: rotate(-2deg);
}

.wsp-karta-gora {
  display: flex;
  justify-content: space-between;
  font-size: 0.8em;
  color: var(--szary);
}

.wsp-status {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(63, 191, 106, 0.22);
  color: #9ff0bb;
  font-weight: 800;
}

.wsp-karta-kiedy {
  margin-top: 10px;
  font-size: 1.5em;
  font-weight: 900;
  color: var(--piana);
}

.wsp-karta-gdzie {
  margin: 4px 0 16px;
  color: var(--tekst);
  font-weight: 600;
}

.wsp-taxi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffd34d, #f5b800);
  color: #1d1600;
  box-shadow: 0 10px 26px rgba(245, 184, 0, 0.3);
}

.wsp-taxi div {
  flex: 1;
}

.wsp-taxi b,
.wsp-taxi small {
  display: block;
}

.wsp-taxi small {
  font-size: 0.8em;
  opacity: 0.8;
}

.wsp-taxi-logo {
  font-size: 1.6em;
}

.wsp-taxi-tel {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1d1600;
}

.wsp-partner {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.75em;
  color: var(--szary);
}

.wsp-prawo {
  max-width: 860px;
  margin: 30px auto 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: var(--szary);
  font-size: 0.92em;
}

.wsp-prawo b {
  color: var(--piana);
}

.wsp-srodek {
  text-align: center;
  margin: 30px 0 0;
}

/* trzy kroki */
.wsp-kroki {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wsp-kroki li {
  padding: 26px 22px;
  border-radius: var(--promien);
  background: linear-gradient(180deg, var(--karta), transparent);
  border: 1px solid var(--linia);
  text-align: center;
}

.wsp-kroki span {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2em;
  color: #241703;
  background: linear-gradient(180deg, var(--zloto), var(--bursztyn));
}

.wsp-kroki b {
  display: block;
  font-size: 1.1em;
  color: var(--piana);
}

.wsp-kroki p {
  margin: 6px 0 0;
  color: var(--szary);
}

/* formularz kontaktowy */
.wsp-formularz {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--karta-2), var(--karta));
  border: 1px solid rgba(245, 166, 35, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wsp-formularz label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9em;
  color: var(--piana);
}

.wsp-formularz label small {
  color: var(--szary);
  font-weight: 500;
}

/* nazwa pola w jednej linii z dopiskiem, np. „Telefon (opcjonalnie)” */
.wsp-etykieta small {
  margin-left: 4px;
}

.wsp-formularz input,
.wsp-formularz select,
.wsp-formularz textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 150, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: var(--piana);
  font: inherit;
  font-weight: 500;
}

.wsp-formularz textarea {
  resize: vertical;
}

/* pola i lista: równa wysokość, złota obwódka po kliknięciu (zamiast niebieskiej systemowej) */
.wsp-formularz input,
.wsp-formularz select {
  height: 50px;
}

.wsp-formularz input:focus,
.wsp-formularz select:focus,
.wsp-formularz textarea:focus {
  outline: none;
  border-color: var(--bursztyn);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.22);
}

.wsp-formularz input::placeholder,
.wsp-formularz textarea::placeholder {
  color: rgba(185, 169, 143, 0.75);
}

/* lista „Rodzaj współpracy” w stylu strony: nasza czcionka i złota strzałka */
.wsp-formularz select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1em;
  color: var(--piana);
  cursor: pointer;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5a623' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px 18px no-repeat,
    linear-gradient(180deg, rgba(245, 166, 35, 0.1), rgba(0, 0, 0, 0.28));
  border-color: rgba(245, 166, 35, 0.4);
}

.wsp-formularz select:hover {
  border-color: rgba(245, 166, 35, 0.7);
}

.wsp-formularz select option {
  background: #231a10;
  color: #fff8e7;
  font-weight: 600;
}

.wsp-pola-dwa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wsp-formularz .wsp-zgoda {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--szary);
}

.wsp-formularz .wsp-zgoda input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.wsp-pulapka {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wsp-komunikat {
  margin: 0;
  color: #ff9a90;
  font-weight: 700;
}

.wsp-komunikat.ok {
  color: #7fe0a0;
}

.wsp-formularz button[type="submit"] {
  align-self: center;
}

@media (max-width: 860px) {
  .wsp-dwie,
  .wsp-dwie-rowne {
    grid-template-columns: 1fr;
  }

  .wsp-kroki {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wsp-hero {
    padding-top: calc(110px + env(safe-area-inset-top));
    padding-bottom: 40px;
  }

  .wsp-pola-dwa {
    grid-template-columns: 1fr;
  }

  .wsp-formularz {
    padding: 20px 16px;
  }

  .wsp-hero .hero-przyciski .przycisk,
  .wsp-formularz button[type="submit"] {
    width: 100%;
  }
}

/* „Strona główna” w nagłówku strony Współpraca */
.menu-linki .menu-glowna {
  color: var(--zloto);
  padding-right: 26px;
  border-right: 1px solid rgba(255, 214, 150, 0.18);
}

.menu-glowna-tel {
  display: none;
  align-self: center;
  margin-right: 8px;
  color: var(--zloto);
  font-weight: 700;
  font-size: 0.9em;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .menu-glowna-tel {
    display: inline-block;
  }
}

/* wąski telefon: zostaje sama ikonka logo, żeby wszystko się zmieściło */
@media (max-width: 430px) {
  .menu-wsp .logo span {
    display: none;
  }
}

/* Współpraca: na mniejszych laptopach menu sekcji się nie zmieści – zostaje „Strona główna” i przycisk */
@media (max-width: 1240px) {
  .menu-wsp .menu-linki {
    display: none;
  }

  .menu-wsp .menu-akcje {
    margin-left: auto;
  }

  .menu-wsp .menu-glowna-tel {
    display: inline-block;
  }
}
