@charset "UTF-8";
/* ==========================================================================
   e-Stołówka — arkusz stylów
   --------------------------------------------------------------------------
   SPIS TREŚCI
   01. Zmienne (kolory, typografia, odstępy)
   02. Reset i podstawy
   03. Typografia
   04. Narzędzia pomocnicze
   05. Przyciski
   06. Warzywa w tle (parallax)
   07. Header, menu, hamburger, przełącznik ścieżki
   08. Nawigator sekcji (pasek kropek)
   09. Hero
   10. Pasek zaufania (liczniki)
   11. Sekcje — elementy wspólne
   12. Dla Intendenta (karty + makieta laptopa)
   13. Dla Rodzica (korzyści)
   14. Karta RFID
   15. Jak to działa (makieta telefonu przy scrollu)
   16. Wdrożenie
   17. Cennik
   18. FAQ (akordeon)
   19. Kontakt i formularz
   20. Stopka i przycisk „do góry”
   21. Animacje wejścia
   22. Breakpointy: 768 / 1024 / 1440
   23. prefers-reduced-motion
   ========================================================================== */


/* ==========================================================================
   01. ZMIENNE
   ========================================================================== */
:root {
  /* --- kolory bazowe --- */
  --c-ink:        #0F1B2D;
  --c-ink-2:      #26364E;
  --c-muted:      #53637C;
  --c-line:       #E3E9F2;
  --c-line-2:     #F0F4F9;
  --c-bg:         #FFFFFF;
  --c-surface:    #F5F8FC;
  --c-surface-2:  #EAF1F9;

  /* --- ścieżka INTENDENT (niebieski) --- */
  --int-50:  #EEF4FE;
  --int-100: #DBE7FD;
  --int-200: #BCD2FA;
  --int-500: #1B5FD9;
  --int-600: #1450BC;
  --int-700: #0E3B8C;

  /* --- ścieżka RODZIC (zielony) --- */
  --par-50:  #EAFAF2;
  --par-100: #D0F3E1;
  --par-200: #A7E7C6;
  --par-500: #12A46B;
  --par-600: #0A7A4E;
  --par-700: #06573A;

  /* --- ścieżka UCZEŃ (pomarańczowy) --- */
  --stu-50:  #FFF4ED;
  --stu-100: #FFE3D1;
  --stu-200: #FFC49E;
  --stu-500: #EA580C;
  --stu-600: #C2410C;
  --stu-700: #9A3412;

  /* --- akcent „jedzeniowy” (tylko dekoracja, nigdy tekst na białym) --- */
  --accent:      #FF7A2F;
  --accent-700:  #C2410C;

  /* --- typografia --- */
  --ff: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-lg:   1.0625rem;
  --fs-h4:   1.0625rem;
  --fs-h3:   clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h2:   clamp(1.625rem, 1.25rem + 1.6vw, 2.625rem);
  --fs-h1:   clamp(1.75rem, 1.15rem + 2.3vw, 2.75rem);
  --fs-num:  clamp(2rem, 1.4rem + 2.6vw, 3.25rem);

  /* --- odstępy --- */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.25rem;  --sp-6: 1.5rem;   --sp-8: 2rem;     --sp-10: 2.5rem;
  --sp-12: 3rem;    --sp-16: 4rem;
  --sec-y: clamp(3.25rem, 2.25rem + 4vw, 6rem);

  /* --- kształt i cień --- */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 22px;  --r-xl: 30px;  --r-full: 999px;
  --sh-1: 0 1px 2px rgba(15,27,45,.06), 0 2px 8px rgba(15,27,45,.05);
  --sh-2: 0 4px 12px rgba(15,27,45,.07), 0 12px 32px rgba(15,27,45,.07);
  --sh-3: 0 10px 24px rgba(15,27,45,.09), 0 28px 64px rgba(15,27,45,.11);

  /* --- ruch --- */
  --ease: cubic-bezier(.22,.7,.3,1);
  --dur:  .38s;

  /* --- układ --- */
  --head-h: 64px;
}

/* Motyw zależny od wybranej ścieżki (przełącznik w headerze) */
html[data-path="int"] {
  --path-50:  var(--int-50);
  --path-100: var(--int-100);
  --path-200: var(--int-200);
  --path-500: var(--int-500);
  --path-600: var(--int-600);
  --path-700: var(--int-700);
}
html[data-path="par"] {
  --path-50:  var(--par-50);
  --path-100: var(--par-100);
  --path-200: var(--par-200);
  --path-500: var(--par-500);
  --path-600: var(--par-600);
  --path-700: var(--par-700);
}
html[data-path="stu"] {
  --path-50:  var(--stu-50);
  --path-100: var(--stu-100);
  --path-200: var(--stu-200);
  --path-500: var(--stu-500);
  --path-600: var(--stu-600);
  --path-700: var(--stu-700);
}


/* ==========================================================================
   02. RESET I PODSTAWY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  position: relative;   /* punkt odniesienia dla warstwy z warzywami */
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  /* clip zamiast hidden — nie tworzy kontenera przewijania,
     dzięki czemu position: sticky działa poprawnie */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

a { color: var(--path-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--path-700); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Widoczny focus w całym serwisie */
:focus-visible {
  outline: 3px solid var(--path-500);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--path-200); color: var(--c-ink); }


/* ==========================================================================
   03. TYPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
p  { margin: 0; }

strong { font-weight: 700; }


/* ==========================================================================
   04. NARZĘDZIA POMOCNICZE
   ========================================================================== */
.wrap {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2rem, 820px); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--int-600);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }


/* ==========================================================================
   05. PRZYCISKI
   ========================================================================== */
.btn {
  --btn-bg: var(--path-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
  will-change: transform;
}
.btn:hover  { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }

.btn-lg    { padding: .95rem 1.7rem; font-size: var(--fs-base); }
.btn-block { display: flex; width: 100%; }

.btn-primary { --btn-bg: var(--path-600); }
.btn-primary:hover { --btn-bg: var(--path-700); }

.btn-int { --btn-bg: var(--int-600); }
.btn-int:hover { --btn-bg: var(--int-700); }

.btn-par { --btn-bg: var(--par-600); }
.btn-par:hover { --btn-bg: var(--par-700); }

.btn-stu { --btn-bg: var(--stu-600); }
.btn-stu:hover { --btn-bg: var(--stu-700); }

.btn-white {
  --btn-bg: #fff;
  --btn-fg: var(--c-ink);
}
.btn-white:hover { --btn-bg: var(--c-surface); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover { --btn-bg: var(--c-surface); border-color: var(--path-200); }

/* mikrointerakcja: strzałka przesuwa się na hover */
.btn-arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }


/* ==========================================================================
   06. WARZYWA W TLE — parallax + delikatne unoszenie
   Warstwa nie przechwytuje kliknięć i nie wpływa na układ.
   ========================================================================== */
.veggies {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}

.veg {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--s, 1) * 78px);
  height: auto;
  opacity: .38;
  rotate: var(--r, 0deg);
  animation: veg-float 8s var(--ease) infinite;
  will-change: transform, translate;
  filter: drop-shadow(0 8px 16px rgba(15,27,45,.08));
}
.veg:nth-child(2n) { animation-duration: 10s; animation-delay: -2s; }
.veg:nth-child(3n) { animation-duration: 12s; animation-delay: -4s; }

@keyframes veg-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -18px; }
}


/* ==========================================================================
   07. HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--head-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: 0 4px 20px rgba(15,27,45,.05);
}

.header-inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* --- logo (oryginalny znak e-stolowka.pl) --- */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.logo img {
  height: 26px;
  width: auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.logo:hover img { transform: scale(1.03); opacity: .9; }

/* --- menu (mobile: panel wysuwany) --- */
.nav {
  position: fixed;
  inset: var(--head-h) 0 auto 0;
  max-height: calc(100dvh - var(--head-h));
  overflow-y: auto;
  padding: var(--sp-4) 1rem var(--sp-8);
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
}
.nav.is-open { transform: translateY(0); visibility: visible; }

.nav-list { display: flex; flex-direction: column; }
.nav-list--extra {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--c-line);
}

.nav-link {
  display: block;
  position: relative;
  padding: .8rem .75rem;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: var(--c-surface); color: var(--c-ink); }
.nav-link.is-current { color: var(--path-700); background: var(--path-50); }
.nav-int.is-current { color: var(--int-700); background: var(--int-50); }
.nav-par.is-current { color: var(--par-700); background: var(--par-50); }
.nav-stu.is-current { color: var(--stu-700); background: var(--stu-50); }

.nav-foot {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
  justify-items: center;
}
.nav-tel { font-weight: 800; font-size: 1.125rem; text-decoration: none; }

.nav-overlay {
  position: fixed;
  inset: var(--head-h) 0 0 0;
  z-index: 99;
  background: rgba(15,27,45,.32);
  animation: fade-in .3s var(--ease);
}
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }

/* --- prawa strona headera --- */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* --- CTA w headerze --- */
.btn-header { display: none; }

/* --- hamburger --- */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
}
.burger-box { position: relative; display: block; width: 20px; height: 14px; }
.burger-box i {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger-box i:nth-child(1) { top: 0; }
.burger-box i:nth-child(2) { top: 6px; }
.burger-box i:nth-child(3) { top: 12px; }

.burger[aria-expanded="true"] .burger-box i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-box i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] .burger-box i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* --- pasek postępu czytania --- */
.reading-progress {
  position: absolute;
  inset: auto 0 -2px 0;
  height: 3px;
  background: transparent;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--path-500), var(--accent));
  border-radius: 0 3px 3px 0;
  transition: width .1s linear;
}


/* ==========================================================================
   08. NAWIGATOR SEKCJI — pionowe kropki (od 1024 px)
   ========================================================================== */
.rail { display: none; }

@media (min-width: 1024px) {
  .rail {
    display: block;
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 60;
    transform: translateY(-50%);
  }
  .rail ul { display: grid; gap: 10px; }
  .rail a {
    position: relative;
    display: block;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--c-line);
    border: 2px solid transparent;
    transition: background-color .25s var(--ease), transform .25s var(--ease);
  }
  .rail a:hover { background: var(--path-200); transform: scale(1.25); }
  .rail a.is-current { background: var(--path-600); transform: scale(1.35); }

  /* etykieta pojawia się na hover / focus */
  .rail span {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: .3rem .6rem;
    border-radius: var(--r-sm);
    background: var(--c-ink);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .rail a:hover span,
  .rail a:focus-visible span { opacity: 1; transform: translateY(-50%) translateX(0); }
}


/* ==========================================================================
   09. HERO
   ========================================================================== */
main { position: relative; z-index: 1; padding-top: var(--head-h); }

.hero {
  position: relative;
  padding: clamp(2rem, 1rem + 5vw, 3.5rem) 0 clamp(3rem, 2rem + 5vw, 4.5rem);
  background:
    radial-gradient(1100px 520px at 12% -10%, var(--int-50), transparent 62%),
    radial-gradient(900px 480px at 92% 8%, var(--par-50), transparent 60%);
}

.hero-grid { display: grid; gap: clamp(2rem, 1rem + 5vw, 3.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--sp-4);
  padding: .35rem .85rem .35rem .6rem;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-ink-2);
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,122,47,.6);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255,122,47,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,122,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,47,0); }
}

.hero h1 { margin-bottom: var(--sp-5); }
.h1-accent {
  display: block;
  margin-top: .25em;
  background: linear-gradient(96deg, var(--int-600) 0%, var(--int-500) 38%, var(--par-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 56ch;
  color: var(--c-muted);
  font-size: var(--fs-lg);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.hero-cta .btn { flex: 1 1 auto; min-width: 15rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.hero-facts strong { display: block; font-size: 1.15rem; color: var(--c-ink); letter-spacing: -.02em; }

/* --- trzy filary --- */
.hero-visual { position: relative; display: grid; gap: var(--sp-3); }

.flow-line {
  position: absolute;
  left: 46px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--c-line) 0 7px, transparent 7px 14px);
}
.flow-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,122,47,.18);
  animation: flow-travel 4.2s var(--ease) infinite;
}
@keyframes flow-travel {
  0%   { top: 0;    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.pillar {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pillar--int:hover  { border-color: var(--int-200); }
.pillar--rfid:hover { border-color: var(--accent); }
.pillar--par:hover  { border-color: var(--par-200); }

.pillar-media {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-media--svg { display: grid; place-items: center; background: var(--int-50); }
.pillar-media--svg svg { width: 62px; height: 62px; }

.pillar-role {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pillar--int  .pillar-role { color: var(--int-600); }
.pillar--rfid .pillar-role { color: var(--accent-700); }
.pillar--par  .pillar-role { color: var(--par-600); }
.pillar-desc { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.5; }

/* animacja karty RFID przy czytniku */
.rfid-card { animation: rfid-tap 3.4s var(--ease) infinite; transform-origin: center; }
@keyframes rfid-tap {
  0%, 100% { translate: 0 0; }
  45%      { translate: 8px 0; }
  60%      { translate: 8px 0; }
}
.rfid-waves path { opacity: 0; animation: rfid-wave 3.4s var(--ease) infinite; }
.rfid-waves path:nth-child(2) { animation-delay: .18s; }
@keyframes rfid-wave {
  0%, 35%   { opacity: 0; }
  50%, 68%  { opacity: .9; }
  85%, 100% { opacity: 0; }
}

/* --- grafika główna banera --- */
.hero-banner {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.hero-banner img { width: 100%; height: auto; }

/* strzałka „przewiń” — poza układem, żeby nie podbijała wysokości hero */
.scroll-hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 26px; height: 42px;
  transform: translateX(-50%);
  border: 2px solid var(--c-line);
  border-radius: var(--r-full);
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--path-500);
  animation: scroll-dot 1.9s var(--ease) infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}


/* ==========================================================================
   10. PASEK ZAUFANIA
   ========================================================================== */
.trust {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem) 0;
  background: var(--c-ink);
  color: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6) var(--sp-4);
  text-align: center;
}
.trust-num {
  display: block;
  font-size: var(--fs-num);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  background: linear-gradient(92deg, #8FC6FF, #7BE2B4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.trust-label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: #B9C6D8;
}


/* ==========================================================================
   11. SEKCJE — ELEMENTY WSPÓLNE
   ========================================================================== */
.section {
  position: relative;
  z-index: 1;
  padding: var(--sec-y) 0;
}
.section--int    { background: var(--c-surface); }
.section--par    { background: transparent; }
.section--rfid   { background: transparent; }
.section--how    { background: var(--c-surface); }
.section--deploy { background: #fff; }
.section--quote  { background: var(--c-surface); }
.section--faq    { background: #fff; }
.section--contact{ background: linear-gradient(180deg, var(--c-surface) 0%, #fff 100%); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }

.section-tag {
  display: inline-block;
  margin-bottom: var(--sp-3);
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-int     { background: var(--int-100); color: var(--int-700); }
.tag-par     { background: var(--par-100); color: var(--par-700); }
.tag-neutral { background: var(--c-surface-2); color: var(--c-ink-2); }

.section-head h2 { margin-bottom: var(--sp-4); }
.section-lead { color: var(--c-muted); font-size: var(--fs-lg); }

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.section-cta .btn { flex: 1 1 16rem; }


/* ==========================================================================
   12. DLA INTENDENTA
   ========================================================================== */
.cards { display: grid; gap: var(--sp-4); }

.card {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--int-200);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--int-50);
  color: var(--int-600);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.card:hover .card-icon { transform: translateY(-2px) rotate(-6deg); background: var(--int-100); }

.card h3 { margin-bottom: var(--sp-2); }
.card p  { font-size: var(--fs-sm); color: var(--c-muted); }

/* --- naprzemienne wiersze funkcji: grafika + opis --- */
.feature-rows { display: grid; gap: clamp(2.5rem, 1.75rem + 3.5vw, 5rem); }

.feature-row {
  display: grid;
  gap: clamp(1.25rem, .75rem + 2.5vw, 3rem);
  align-items: center;
}

.feature-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-row:hover .feature-media { transform: translateY(-4px); box-shadow: var(--sh-2); }
.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--int-50);
  color: var(--int-600);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.feature-row:hover .feature-icon { transform: rotate(-6deg) scale(1.05); background: var(--int-100); }

.feature-num {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--int-500);
  font-variant-numeric: tabular-nums;
}

.feature-body h3 {
  margin-bottom: var(--sp-3);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}
.feature-body p { color: var(--c-muted); }

/* wariant dla ścieżki rodzica — zielony akcent zamiast niebieskiego */
.feature-rows--par .feature-icon { background: var(--par-50); color: var(--par-600); }
.feature-rows--par .feature-row:hover .feature-icon { background: var(--par-100); }
.feature-rows--par .feature-num { color: var(--par-600); }

/* wypunktowanie konkretów pod opisem funkcji */
.feature-list {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
}
.feature-list li { position: relative; padding-left: 1.7rem; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--int-500);
  border-bottom: 2.5px solid var(--int-500);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.feature-rows--par .feature-list li::before { border-color: var(--par-500); }
.feature-list strong { color: var(--c-ink); }

/* wariant bez kadrowania — obraz zachowuje własne proporcje.
   Wiersze mogą mieć wtedy różną wysokość i tak ma być. */
.feature-rows--natural .feature-media img {
  aspect-ratio: auto;
  object-fit: initial;
  height: auto;
}

/* --- podsumowanie modułów: jedna grafika na całą szerokość --- */
.modules-summary {
  max-width: 1000px;
  margin: clamp(2.5rem, 2rem + 2.5vw, 4rem) auto 0;
}
.modules-summary img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.modules-summary figcaption {
  max-width: 60ch;
  margin: var(--sp-4) auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* --- makieta laptopa --- */
.showcase { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

.laptop { max-width: 980px; margin-inline: auto; }
.laptop-screen {
  padding: 10px 10px 0;
  background: #1B2434;
  border-radius: 14px 14px 0 0;
  box-shadow: var(--sh-3);
}
.laptop-screen img {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: #fff;
}
.laptop-base {
  height: 14px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #2A3547 0%, #1B2434 60%, #121A27 100%);
  box-shadow: 0 14px 26px rgba(15,27,45,.18);
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 78px; height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 5px 5px;
  background: #0C121C;
}

.showcase figcaption {
  margin-top: var(--sp-4);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}


/* ==========================================================================
   13. DLA RODZICA
   ========================================================================== */
.benefits { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.benefits-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  background: var(--par-50);
}
.benefits-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.benefits-media figcaption {
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
}

.benefit-list { display: grid; gap: var(--sp-3); }

.benefit {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
}
.benefit:hover {
  background: #fff;
  border-color: var(--par-100);
  transform: translateX(4px);
  box-shadow: var(--sh-1);
}

.benefit-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  background: var(--par-50);
  color: var(--par-700);
  font-size: var(--fs-xs);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.benefit:hover .benefit-num { background: var(--par-500); color: #fff; }

.benefit h3 { margin-bottom: var(--sp-1); }
.benefit p  { font-size: var(--fs-sm); color: var(--c-muted); }

/* --- domknięcie sekcji --- */
.par-close {
  display: grid;
  gap: var(--sp-6);
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--par-50), #fff 70%);
  border: 1px solid var(--par-100);
}
.par-close h3 { margin-bottom: var(--sp-2); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); }
.par-close p  { color: var(--c-muted); margin-bottom: var(--sp-5); }

.mini-steps { display: grid; gap: var(--sp-3); }
.mini-steps li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  border: 1px solid var(--par-100);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.mini-steps span {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--par-600);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
}


/* ==========================================================================
   14. KARTA RFID
   ========================================================================== */
.rfid-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.timeline { position: relative; display: grid; gap: var(--sp-6); }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--int-200), var(--accent), var(--par-200));
  border-radius: 2px;
}

.tl-step { position: relative; padding-left: 56px; }
.tl-num {
  position: absolute;
  left: 0; top: -2px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent-700);
  font-weight: 800;
  box-shadow: 0 0 0 5px rgba(255,122,47,.12);
}
.tl-step h3 { margin-bottom: var(--sp-2); }
.tl-step p  { font-size: var(--fs-sm); color: var(--c-muted); }

.rfid-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}
.rfid-photo img { width: 100%; }
.rfid-photo figcaption {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}


/* ==========================================================================
   15. JAK TO DZIAŁA — telefon przyklejony przy scrollu
   ========================================================================== */
.how-grid { display: grid; gap: var(--sp-6); }

.how-phone { display: grid; justify-items: center; }

.phone {
  position: relative;
  width: 250px;
  padding: 10px;
  background: #101828;
  border-radius: 34px;
  box-shadow: var(--sh-3), inset 0 0 0 1px #2B3547;
}
.phone-notch {
  position: absolute;
  left: 50%; top: 16px;
  width: 84px; height: 18px;
  transform: translateX(-50%);
  border-radius: var(--r-full);
  background: #101828;
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 230px;
  aspect-ratio: 380 / 691;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.how-shot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.how-shot.is-active { opacity: 1; transform: scale(1); }

.how-caption {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--par-700);
  text-align: center;
}

.how-steps { display: grid; gap: var(--sp-4); }

.how-step {
  position: relative;
  padding: var(--sp-5);
  padding-left: calc(var(--sp-5) + 4px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  opacity: .58;
  transition: opacity .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.how-step::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 4px;
  border-radius: var(--r-full);
  background: var(--par-500);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.how-step.is-active {
  opacity: 1;
  border-color: var(--par-200);
  box-shadow: var(--sh-2);
}
.how-step.is-active::before { transform: scaleY(1); }

.how-step-num {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--par-600);
}
.how-step h3 { margin-bottom: var(--sp-2); }
.how-step p  { font-size: var(--fs-sm); color: var(--c-muted); }


/* ==========================================================================
   16. WDROŻENIE
   ========================================================================== */
.deploy-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 3rem); }

.steps-4 { display: grid; gap: var(--sp-4); }

.step4 {
  position: relative;
  padding: var(--sp-5);
  padding-top: calc(var(--sp-5) + 8px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step4::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--int-500), var(--par-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.step4:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.step4:hover::before, .step4.is-visible::before { transform: scaleX(1); }

.step4-num {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--int-100);
  font-variant-numeric: tabular-nums;
}
.step4 h3 { margin-bottom: var(--sp-2); }
.step4 p  { font-size: var(--fs-sm); color: var(--c-muted); }

.deploy-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  background: var(--c-surface);
}
.deploy-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.deploy-photo figcaption {
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}


/* ==========================================================================
   17. KAFELKI WYBORU ROLI (pod banerem strony głównej)
   ========================================================================== */
.tiles-section {
  position: relative;
  z-index: 2;
  padding-bottom: var(--sec-y);
  background: linear-gradient(180deg, transparent 0 40%, var(--c-surface) 40% 100%);
}

.tiles { display: grid; gap: var(--sp-4); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }

.tile--int:hover { border-color: var(--int-200); }
.tile--par:hover { border-color: var(--par-200); }
.tile--stu:hover { border-color: var(--stu-200); }

/* cały kafelek jest klikalny — link rozciąga się na jego powierzchnię */
.tile-link { position: static; text-decoration: none; color: inherit; }
.tile-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile-link:hover { color: inherit; }

.tile-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-surface);
}
.tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.tile:hover .tile-media img { transform: scale(1.05); }

.tile-badge {
  position: absolute;
  left: var(--sp-4); top: var(--sp-4);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .8rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tile--int .tile-badge { color: var(--int-700); }
.tile--par .tile-badge { color: var(--par-700); }
.tile--stu .tile-badge { color: var(--stu-700); }

.tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
}
.tile-body h3 { margin-bottom: var(--sp-2); font-size: clamp(1.15rem, 1rem + .8vw, 1.45rem); }
.tile-desc { font-size: var(--fs-sm); color: var(--c-muted); }

.tile-points {
  display: grid;
  gap: var(--sp-2);
  margin: var(--sp-4) 0 var(--sp-5);
  font-size: var(--fs-sm);
}
.tile-points li { position: relative; padding-left: 1.55rem; }
.tile-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 13px; height: 7px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  border-radius: 1px;
}
.tile--int .tile-points li::before { color: var(--int-500); }
.tile--par .tile-points li::before { color: var(--par-500); }
.tile--stu .tile-points li::before { color: var(--stu-500); }

.tile-go {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  font-weight: 800;
  font-size: var(--fs-sm);
}
.tile--int .tile-go { color: var(--int-600); }
.tile--par .tile-go { color: var(--par-600); }
.tile--stu .tile-go { color: var(--stu-600); }
.tile-go svg { transition: transform .3s var(--ease); }
.tile:hover .tile-go svg { transform: translateX(5px); }


/* ==========================================================================
   17b. BANER PODSTRONY I OKRUSZKI
   ========================================================================== */
.page-hero {
  position: relative;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem) 0 clamp(2rem, 1.25rem + 3vw, 3.25rem);
  background:
    radial-gradient(900px 420px at 8% -20%, var(--path-50), transparent 62%),
    radial-gradient(700px 380px at 96% 0%, var(--c-surface), transparent 60%);
  border-bottom: 1px solid var(--c-line);
}
.page-hero-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center; }
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero .lead { max-width: 54ch; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.page-hero-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  background: var(--c-surface);
}
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.breadcrumbs {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--c-line); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; font-weight: 700; }
.breadcrumbs a:hover { color: var(--path-700); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--c-ink); font-weight: 700; }


/* ==========================================================================
   17c. FORMULARZ WYCENY
   ========================================================================== */
.quote-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 3rem); align-items: start; }

.quote-form {
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}

.quote-step {
  padding: 0;
  margin: 0 0 var(--sp-6);
  border: 0;
  border-top: 1px solid var(--c-line);
  padding-top: var(--sp-5);
}
.quote-step:first-of-type { border-top: 0; padding-top: 0; }

.quote-step legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-h4);
  font-weight: 800;
  letter-spacing: -.01em;
}
.quote-step legend b {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--path-600);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
}

/* pola wyboru w formie kart */
.opt-grid { display: grid; gap: var(--sp-3); }
.opt-grid--2 { grid-template-columns: 1fr; }

.opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: var(--sp-4);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease);
}
.opt:hover { border-color: var(--path-200); background: var(--path-50); transform: translateY(-2px); }
.opt input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--path-600); flex: 0 0 auto; }
.opt:has(input:checked) { border-color: var(--path-500); background: var(--path-50); }
.opt-title { display: block; font-weight: 700; font-size: var(--fs-sm); }
.opt-note  { display: block; margin-top: .15rem; font-size: var(--fs-xs); color: var(--c-muted); }

/* podsumowanie wyboru */
.quote-summary {
  position: sticky;
  top: calc(var(--head-h) + 1.5rem);
  padding: var(--sp-5);
  background: var(--c-ink);
  color: #C3CEDD;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.quote-summary h2 { margin-bottom: var(--sp-4); font-size: 1.25rem; color: #fff; }
.quote-summary dl { display: grid; gap: var(--sp-3); font-size: var(--fs-sm); }
.quote-summary .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px dashed rgba(255,255,255,.16);
}
.quote-summary .row:last-child { border-bottom: 0; padding-bottom: 0; }
.quote-summary dt { color: #93A2B6; }
.quote-summary dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }
.quote-summary-note {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-xs);
  color: #93A2B6;
}


/* ==========================================================================
   18. FAQ — akordeon
   ========================================================================== */
.faq { display: grid; gap: var(--sp-3); }

.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.faq-item.is-open { border-color: var(--path-200); box-shadow: var(--sh-1); }

.faq-item h3 { margin: 0; font-size: inherit; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  border: 0;
  background: none;
  text-align: left;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--c-ink);
  transition: background-color .22s var(--ease);
}
.faq-q:hover { background: var(--c-surface); }

.faq-ico {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--path-50);
  transition: background-color .28s var(--ease), transform .32s var(--ease);
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--path-700);
  border-radius: 2px;
  transition: transform .32s var(--ease), opacity .28s var(--ease);
}
.faq-ico::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-ico::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-ico::after { opacity: 0; transform: translate(-50%, -50%) scaleY(0); }

.faq-a {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.faq-a[hidden] { display: none; }
/* animacja rozwijania sterowana z JS (grid-template-rows) */
.faq-a-inner { overflow: hidden; }


/* ==========================================================================
   18a. BLOG — karty wpisów i układ artykułu
   ========================================================================== */
.section--blog { background: var(--c-surface); }

/* --- siatka kart wpisów --- */
.posts { display: grid; gap: var(--sp-5); }

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--int-200);
}

.post-media { overflow: hidden; background: var(--c-surface); }
.post-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.post-card:hover .post-media img { transform: scale(1.04); }

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
}

.post-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: var(--sp-3);
  padding: .25rem .7rem;
  border-radius: var(--r-full);
  background: var(--int-50);
  color: var(--int-700);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .03em;
}

.post-body h3 { margin-bottom: var(--sp-2); font-size: clamp(1.05rem, .95rem + .6vw, 1.3rem); }

/* cały kafelek klikalny, ale link zostaje jeden — dobry dla czytnika ekranu */
.post-link { text-decoration: none; color: inherit; }
.post-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-link:hover { color: inherit; }

.post-excerpt { font-size: var(--fs-sm); color: var(--c-muted); }

.post-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--int-600);
}
.post-more svg { transition: transform .3s var(--ease); }
.post-card:hover .post-more svg { transform: translateX(5px); }

/* --- treść artykułu --- */
.article { max-width: 760px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.article-lead {
  margin-bottom: var(--sp-6);
  font-size: var(--fs-lg);
  color: var(--c-ink-2);
}

.article-figure { margin: var(--sp-8) 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.article-figure figcaption {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  text-align: center;
}

.article-body h2 {
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 var(--sp-4);
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.8rem);
}
.article-body h3 { margin: var(--sp-6) 0 var(--sp-3); }
.article-body p { margin-bottom: var(--sp-4); }
.article-body p:last-child { margin-bottom: 0; }

.article-body ul, .article-body ol {
  display: grid;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.article-body ul li { position: relative; padding-left: 1.6rem; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: .1rem; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--int-500);
}
.article-body ol { counter-reset: krok; }
.article-body ol li { position: relative; padding-left: 2.1rem; counter-increment: krok; }
.article-body ol li::before {
  content: counter(krok);
  position: absolute;
  left: 0; top: .1em;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--int-50);
  color: var(--int-700);
  font-size: var(--fs-xs);
  font-weight: 800;
}

/* wyróżniony akapit z konkretem */
.article-note {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  border-left: 4px solid var(--int-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--int-50);
  font-size: var(--fs-sm);
}
.article-note strong { color: var(--int-700); }

/* --- powiązane wpisy --- */
.related { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.related h2 { margin-bottom: var(--sp-5); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); }


/* ==========================================================================
   18b. PAS ZACHĘTY DO WYCENY (powtarzany na każdej podstronie)
   ========================================================================== */
.cta-band {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0;
  background: var(--c-ink);
  color: #C3CEDD;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,95,217,.34), transparent 65%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { max-width: 52ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta-band-actions .btn-ghost {
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.28);
}
.cta-band-actions .btn-ghost:hover { --btn-bg: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }


/* ==========================================================================
   19. KONTAKT
   ========================================================================== */
.contact-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

/* wariant bez formularza — jedna kolumna o czytelnej szerokości */
.contact-layout--solo { max-width: 680px; }

.contact-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.contact-list li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.contact-ico {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--int-50);
  color: var(--int-600);
}
.contact-k {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
}
.contact-list a { font-weight: 700; text-decoration: none; color: var(--c-ink); }
.contact-list a:hover { color: var(--path-700); text-decoration: underline; }

/* --- adresy e-mail chronione przed robotami ---
   Bez JavaScriptu odnośnik nie ma atrybutu href, więc wygląda jak zwykły
   tekst. Nadajemy mu wtedy styl linku, żeby użytkownik wiedział, że to adres. */
.mail { color: var(--path-600); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .mail { color: #fff; }
.mail:not([href]) { cursor: text; }

/* --- karty informacyjne obok danych kontaktowych --- */
.info-stack { display: grid; gap: var(--sp-4); }

.info-card {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.info-card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-h4);
}
.info-card h3 svg { flex: 0 0 auto; color: var(--int-600); }

.info-card dl { display: grid; gap: var(--sp-3); font-size: var(--fs-sm); }
.info-card .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px dashed var(--c-line);
}
.info-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card dt { color: var(--c-muted); }
.info-card dd { margin: 0; font-weight: 700; text-align: right; }
.info-card dd.wolne { font-weight: 400; }

.info-note {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* --- formularz --- */
.contact-form {
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.form-intro { margin-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--c-muted); }

.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .72rem .9rem;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--path-200); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--path-500);
  box-shadow: 0 0 0 4px var(--path-50);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #DC2626; }

.field-err { margin-top: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; color: #B91C1C; }

.field-hint {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.45;
}
/* podpowiedź nad grupą pól wyboru */
.quote-step > .field-hint { margin: calc(var(--sp-3) * -1) 0 var(--sp-4); }

/* zapasowy sposób wysłania zapytania, gdy nie zadziała program pocztowy */
.mail-fallback {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  animation: fade-in .35s var(--ease);
}
.mail-fallback[hidden] { display: none; }
.mail-fallback h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.mail-fallback > p { margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--c-muted); }

.fallback-adres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
}
.fallback-etykieta {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
}
.fallback-adres .btn { padding: .5rem 1rem; font-size: var(--fs-xs); }

.mail-fallback textarea {
  font-size: var(--fs-sm);
  line-height: 1.55;
  background: #fff;
}

.field-row { display: grid; gap: var(--sp-4); }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: start;
  margin-bottom: var(--sp-5);
}
.field--check input { width: 20px; height: 20px; margin-top: .18rem; accent-color: var(--path-600); }
.field--check label { margin: 0; font-weight: 400; font-size: var(--fs-sm); color: var(--c-muted); }
.field--check .field-err { grid-column: 1 / -1; }

/* pułapka na boty */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: var(--sp-4); font-size: var(--fs-sm); font-weight: 700; }
.form-status.is-ok  { color: var(--par-700); }
.form-status.is-err { color: #B91C1C; }

.form-note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }


/* ==========================================================================
   20. STOPKA I PRZYCISK „DO GÓRY”
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0 var(--sp-6);
  background: var(--c-ink);
  color: #C3CEDD;
  font-size: var(--fs-sm);
}
.footer-grid { display: grid; gap: var(--sp-8); }

.logo--footer img { height: 34px; }

.footer-desc { margin: var(--sp-4) 0; max-width: 42ch; }

.footer-address { font-style: normal; line-height: 1.9; }
.footer-address strong { color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8FC6FF; text-decoration: underline; }

.footer-nav { display: grid; gap: var(--sp-6); }
.footer-nav h2 {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
}
.footer-nav ul { display: grid; gap: var(--sp-3); }
.footer-nav a { color: #C3CEDD; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-xs);
  color: #93A2B6;
}

.to-top {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  color: var(--path-600);
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: translateY(12px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .22s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--path-50); transform: translateY(-3px) scale(1.04); }


/* ==========================================================================
   21. ANIMACJE WEJŚCIA (IntersectionObserver dodaje .is-visible)
   ========================================================================== */
/* Stan początkowy ustawiamy tylko wtedy, gdy JS działa (klasa .js na <html>),
   dzięki czemu bez JavaScriptu treść jest widoczna od razu. */
.js .reveal, .js .benefit, .js .how-step, .js .tl-step,
.js .step4, .js .card, .js .tile, .js .faq-item, .js .trust-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible,
.js .benefit.is-visible, .js .how-step.is-visible, .js .tl-step.is-visible,
.js .step4.is-visible, .js .card.is-visible, .js .tile.is-visible,
.js .faq-item.is-visible, .js .trust-item.is-visible {
  opacity: 1;
  transform: none;
}
/* hover kafelka nie może walczyć z animacją wejścia */
.js .tile.is-visible { transition: opacity .6s var(--ease), transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease); }
/* .how-step zachowuje przygaszenie do czasu aktywacji */
.js .how-step.is-visible { opacity: .58; }
.js .how-step.is-visible.is-active { opacity: 1; }

/* opóźnienie kaskadowe */
[data-delay="1"] { transition-delay: .07s; }
[data-delay="2"] { transition-delay: .14s; }
[data-delay="3"] { transition-delay: .21s; }
[data-delay="4"] { transition-delay: .28s; }
[data-delay="5"] { transition-delay: .35s; }
[data-delay="6"] { transition-delay: .42s; }
[data-delay="7"] { transition-delay: .49s; }

/* bez JS pierwszy ekran telefonu i tak jest widoczny */
html:not(.js) .how-shot[data-shot="0"] { opacity: 1; }


/* ==========================================================================
   22. BREAKPOINTY
   ========================================================================== */

/* ---------- 768 px — tablet ---------- */
@media (min-width: 768px) {
  :root { --head-h: 72px; }

  .wrap { width: min(100% - 3rem, 1240px); }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }

  .cards--4 { grid-template-columns: repeat(2, 1fr); }

  .field-row { grid-template-columns: 1fr 1fr; }

  .hero-cta .btn { flex: 0 1 auto; min-width: 0; }

  .logo img { height: 30px; }
  .logo--footer img { height: 36px; }   /* powtórzone, bo ta reguła jest w pliku niżej */

  .pillar-media { width: 92px; height: 92px; }
  .pillar-media--svg svg { width: 74px; height: 74px; }
  .flow-line { left: 54px; }

  .benefit-list { grid-template-columns: repeat(2, 1fr); }

  /* wiersze funkcji: co drugi ma grafikę po prawej */
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row:nth-child(even) .feature-media { order: 2; }

  .rfid-layout { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .timeline { gap: var(--sp-8); }

  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .deploy-layout { grid-template-columns: 1.35fr .65fr; align-items: center; }

  .posts { grid-template-columns: repeat(2, 1fr); }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--stu { grid-column: 1 / -1; }
  .tile--stu { flex-direction: row; }
  .tile--stu .tile-media { flex: 0 0 44%; aspect-ratio: auto; }
  .tile--stu .tile-body { flex: 1; justify-content: center; }

  .opt-grid--2 { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1.15fr .85fr; }

  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }

  /* stretch jest tu konieczny: kolumna musi mieć wysokość całego wiersza,
     inaczej przyklejony telefon nie ma po czym „jechać” */
  .how-grid { grid-template-columns: 300px 1fr; gap: var(--sp-8); align-items: stretch; }
  .how-phone {
    position: sticky;
    top: calc(var(--head-h) + 2rem);
  }
  .how-steps { gap: 6vh; padding-block: 14vh; }
  .how-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 34vh;
  }

  .to-top { right: 24px; bottom: 24px; width: 52px; height: 52px; }

  .veg { width: calc(var(--s, 1) * 104px); }
}

/* ---------- 1024 px — laptop ---------- */
@media (min-width: 1024px) {
  /* menu wraca do poziomu */
  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    margin-left: var(--sp-6);
  }
  .nav-list { flex-direction: row; align-items: center; gap: .15rem; }
  .nav-list--extra, .nav-foot { display: none; }
  .nav-link { padding: .5rem .7rem; font-size: var(--fs-sm); }

  /* podkreślenie aktywnej pozycji */
  .nav-link::after {
    content: "";
    position: absolute;
    left: .7rem; right: .7rem; bottom: .28rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s var(--ease);
  }
  .nav-link:hover::after,
  .nav-link.is-current::after { transform: scaleX(1); }
  .nav-link.is-current,
  .nav-int.is-current,
  .nav-par.is-current,
  .nav-stu.is-current { background: transparent; }

  .burger { display: none; }
  .path-switch { display: flex; }
  .btn-header { display: inline-flex; }

  .scroll-hint { display: block; }

  /* hero ma się zmieścić bez scrollowania na 1366×768 */
  .hero { padding-block: clamp(1.5rem, .5rem + 2.5vw, 2.5rem) clamp(2rem, 1rem + 3vw, 3rem); }
  .hero-grid { grid-template-columns: 1.12fr .88fr; align-items: center; }
  .hero h1 { margin-bottom: var(--sp-4); }
  .hero-cta { margin-top: var(--sp-5); }
  .hero-facts { margin-top: var(--sp-5); padding-top: var(--sp-4); }

  .cards--4 { grid-template-columns: repeat(4, 1fr); }

  .benefits { grid-template-columns: 380px 1fr; align-items: start; }
  .benefits-media { position: sticky; top: calc(var(--head-h) + 2rem); }
  .benefit-list { grid-template-columns: 1fr; gap: var(--sp-2); }

  .par-close { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .par-close p { margin-bottom: var(--sp-6); }

  .posts { grid-template-columns: repeat(4, 1fr); }
  .posts--dwie { grid-template-columns: repeat(2, 1fr); }

  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile--stu { grid-column: auto; flex-direction: column; }
  .tile--stu .tile-media { flex: none; aspect-ratio: 16 / 10; }

  .quote-layout { grid-template-columns: 1.35fr .65fr; }

  .cta-band-inner { grid-template-columns: 1fr auto; gap: var(--sp-8); }

  .contact-layout { grid-template-columns: .95fr 1.05fr; align-items: start; }
  .contact-layout--solo { grid-template-columns: 1fr; }

  .how-grid { grid-template-columns: 320px 1fr; gap: var(--sp-12); }
  .how-steps { padding-block: 18vh; gap: 8vh; }
  .how-step { min-height: 38vh; }

  .veg { width: calc(var(--s, 1) * 120px); opacity: .42; }
}

/* ---------- 1440 px — duży ekran ---------- */
@media (min-width: 1440px) {
  :root { --fs-base: 1.0625rem; }

  .wrap { width: min(100% - 4rem, 1320px); }
  .hero-grid { gap: var(--sp-16); }
  .benefits { grid-template-columns: 430px 1fr; }
  .how-grid { grid-template-columns: 360px 1fr; }
  .rail { right: 28px; }
  .veg { width: calc(var(--s, 1) * 140px); }
}


/* ==========================================================================
   23. OGRANICZONY RUCH — zostają wyłącznie przejścia opacity
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  /* elementy wjeżdżające pojawiają się samym opacity */
  .js .reveal, .js .benefit, .js .how-step, .js .tl-step, .js .step4,
  .js .card, .js .tile, .js .faq-item, .js .trust-item {
    transform: none !important;
    transition: opacity .3s linear !important;
  }
  .how-shot { transition: opacity .3s linear !important; transform: none !important; }

  .veg { animation: none !important; transform: none !important; }
  .flow-dot, .scroll-hint span, .eyebrow .dot, .rfid-card, .rfid-waves path { animation: none !important; }
  .rfid-waves path { opacity: .9; }

  .btn:hover, .card:hover, .tile:hover, .step4:hover, .pillar:hover,
  .benefit:hover, .opt:hover, .to-top:hover { transform: none !important; }
  .tile:hover .tile-media img { transform: none !important; }
}
