/* Pierwszy ekran: tylko hero, bez wystającego nagłówka następnej sekcji */
.hero { min-height: calc(100svh - 124px); box-sizing: border-box; }
@media (max-width: 900px) { .hero { min-height: calc(100svh - 110px); } }
html { scroll-behavior: smooth; }
.feat-panels { overflow-x: clip; }

/* Funkcje wysuwają się przy przewijaniu: podgląd i opis wjeżdżają ze swoich stron do środka,
   ten sam ruch i czas w każdej sekcji. Bez JS / przy reduced-motion wszystko widoczne od razu. */
.fx-ready .feat-panels > section > div {
  transition: opacity .6s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.fx-ready .feat-panels > section > div:last-child { transition-delay: .1s; }
.fx-ready .feat-panels > section:not(.fx-in) > div { opacity: 0; }
/* zwykła sekcja: podgląd po lewej, opis po prawej */
.fx-ready .feat-panels > section:not(.fx-in) > div:first-child { transform: translateX(-60px); }
.fx-ready .feat-panels > section:not(.fx-in) > div:last-child { transform: translateX(60px); }
/* odwrócona sekcja i RTL: strony zamienione */
.fx-ready .feat-panels > section[style*="row-reverse"]:not(.fx-in) > div:first-child,
[dir="rtl"] .fx-ready .feat-panels > section:not([style*="row-reverse"]):not(.fx-in) > div:first-child { transform: translateX(60px); }
.fx-ready .feat-panels > section[style*="row-reverse"]:not(.fx-in) > div:last-child,
[dir="rtl"] .fx-ready .feat-panels > section:not([style*="row-reverse"]):not(.fx-in) > div:last-child { transform: translateX(-60px); }
[dir="rtl"] .fx-ready .feat-panels > section[style*="row-reverse"]:not(.fx-in) > div:first-child { transform: translateX(-60px); }
[dir="rtl"] .fx-ready .feat-panels > section[style*="row-reverse"]:not(.fx-in) > div:last-child { transform: translateX(60px); }
/* telefon: kolumny są jedna pod drugą, więc oba elementy wysuwają się z dołu */
@media (max-width: 760px) {
  .fx-ready .feat-panels > section:not(.fx-in) > div,
  .fx-ready .feat-panels > section[style*="row-reverse"]:not(.fx-in) > div,
  [dir="rtl"] .fx-ready .feat-panels > section:not(.fx-in) > div { transform: translateY(40px); }
}
