/* =========================================================================
   Fibo — landing waitlisty. Style główne.
   Mobile-first. Paleta marki: ciepły krem (świat zdjęć) + fiolet Fibo (akcja).
   ========================================================================= */

/* ---------- Poppins — self-hosted (latin + latin-ext) ---------- */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/poppins-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/poppins-400-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:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/poppins-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/poppins-600-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:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/poppins-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/poppins-700-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;}

/* ---------- Zmienne / paleta ---------- */
:root {
  --cream:        #faf6ef;   /* tło strony */
  --cream-2:      #f3ece0;   /* karty na tincie */
  --lavender:     #eeecfa;   /* tint sekcji */
  --purple:       #5a4ad1;   /* kolor akcji / CTA */
  --purple-dark:  #4736b3;   /* hover */
  --purple-deep:  #2f2570;   /* najciemniejszy fiolet */
  --ink:          #2a2338;   /* tekst */
  --muted:        #6b6478;   /* tekst pomocniczy */
  --white:        #ffffff;
  --line:         rgba(42, 35, 56, .12);
  --shadow:       0 12px 34px rgba(47, 37, 112, .10);
  --shadow-sm:    0 4px 14px rgba(47, 37, 112, .08);
  --radius:       18px;
  --radius-sm:    12px;
  --maxw:         1080px;
  --maxw-narrow:  640px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- Layout pomocniczy ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding: 56px 0; }
.section--tint   { background: var(--lavender); }
.section--purple { background: var(--purple); color: var(--white); }
.section__title { font-size: clamp(24px, 6vw, 32px); text-align: center; }
.section__lead  { text-align: center; color: var(--muted); margin: 14px auto 0; max-width: 34em; }
.section--purple .section__lead { color: rgba(255,255,255,.85); }
.accent { color: var(--purple); }

/* ---------- Nagłówek ---------- */
.site-header {
  display: flex; align-items: center;
  padding: 12px 20px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; }
.brand__name { font-weight: 700; font-size: 22px; color: var(--purple-deep); letter-spacing: -.02em; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.15;
  text-align: center; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(90,74,209,.28); }
.btn--primary:hover { background: var(--purple-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--onpurple { background: #fff; color: var(--purple); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.btn--onpurple:hover { background: #f3f1ff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); min-height: 48px; }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- HERO ---------- */
.hero { padding: 10px 0 44px; }
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.hero__title { font-size: clamp(28px, 8.2vw, 44px); }
.hero__sub { margin-top: 16px; font-size: clamp(16px, 4.2vw, 19px); color: var(--muted); }
.hero__media { margin-top: 28px; }
.hero__img {
  width: 100%; border-radius: 24px; box-shadow: var(--shadow);
  object-fit: cover; max-height: 62vh;
}

/* Wariant founder-hero (strona /founder) — kicker z małym avatarem + portret twórcy */
.hero__kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--muted);
}
.hero__avatar {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 50%; object-fit: cover; object-position: center top;
  box-shadow: var(--shadow);
}
.hero__img--portrait { object-position: center top; max-height: 70vh; }

/* ---------- Formularz zapisu ---------- */
.signup { margin-top: 24px; }
.signup__row { margin-bottom: 12px; }
.signup__label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--muted); margin-bottom: 6px; padding-left: 4px;
}
.signup__input {
  width: 100%; min-height: 54px; padding: 0 16px;
  font-family: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.signup__input::placeholder { color: #a7a2b4; }
.signup__input:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(90,74,209,.16);
}
/* Honeypot — całkowicie ukryty dla ludzi */
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.signup__consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 6px 0 16px; font-size: 14px; color: var(--muted); line-height: 1.45;
}
.signup__consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--purple); }
.signup__submit { width: 100%; }
.signup__micro { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Po udanym zapisie chowamy pola — zostaje sam komunikat sukcesu */
.signup--done .signup__row,
.signup--done .signup__consent,
.signup--done .signup__submit,
.signup--done .signup__micro { display: none; }

.signup__success {
  margin-top: 16px; padding: 16px 18px;
  background: #edfaf1; border: 1.5px solid #b8e6c6; border-radius: var(--radius-sm);
  color: #1c6b39; font-size: 15.5px; line-height: 1.5;
}
.signup__error {
  margin-top: 14px; padding: 12px 16px;
  background: #fdecec; border: 1.5px solid #f3c0c0; border-radius: var(--radius-sm);
  color: #a12525; font-size: 14.5px;
}

/* ---------- Trust-line ---------- */
.trustline {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 13.5px; color: var(--muted);
}
.trustline li { position: relative; padding-left: 16px; }
.trustline li::before {
  content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
}

/* ---------- Karty ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}

/* ---------- Problem ---------- */
.problem__cards { display: grid; gap: 14px; margin-top: 26px; }
.problem__card { font-size: 17px; font-weight: 500; }
.problem__close { margin: 26px auto 0; text-align: center; max-width: 32em; font-size: 18px; font-weight: 500; }

/* ---------- Jak działa: kroki ---------- */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--purple); color: #fff; font-weight: 700; font-size: 19px;
  display: grid; place-items: center;
}
.step__title { font-size: 19px; margin-bottom: 4px; }
.step__body p { color: var(--muted); }

/* ---------- Dialog (dymki) ---------- */
.dialog { margin: 36px auto 0; max-width: 520px; }
.dialog__caption { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.bubble {
  max-width: 82%; padding: 12px 16px; margin-bottom: 10px;
  font-size: 15.5px; line-height: 1.45; border-radius: 18px;
}
.bubble--fibo  { background: var(--lavender); color: var(--purple-deep); border-bottom-left-radius: 5px; }
.bubble--child { background: var(--purple); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }

/* ---------- Mockup aplikacji ---------- */
.howto__app { margin: 40px auto 0; max-width: 320px; text-align: center; }
.howto__app img { margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(47,37,112,.16)); }
.howto__app figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Supermoce ---------- */
.powers__grid { display: grid; gap: 16px; margin-top: 30px; }
.power { text-align: center; }
.power__icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 16px; background: var(--lavender); color: var(--purple); margin-bottom: 14px;
}
.power__title { font-size: 20px; margin-bottom: 8px; }
.power p { color: var(--muted); }

/* ---------- Kontrola rodzica: checklist ---------- */
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; font-size: 16.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.control__note {
  margin-top: 26px; padding: 18px 20px; background: var(--lavender);
  border-radius: var(--radius); color: var(--purple-deep); font-weight: 500; text-align: center;
}

/* ---------- Sekcja zaproszenia (fiolet) ---------- */
.invite__lead { text-align: center; color: rgba(255,255,255,.9); margin: 16px auto 0; max-width: 36em; }
.perks {
  list-style: none; margin: 26px auto 26px; padding: 0; max-width: 30em;
  display: grid; gap: 12px;
}
.perks li {
  background: rgba(255,255,255,.12); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 16px;
}
.perks strong { color: #fff; }
.invite .btn { display: flex; margin: 0 auto; max-width: 340px; }

/* ---------- FAQ ---------- */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 4px;
  font-weight: 600; font-size: 17px; position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--purple); transition: transform .15s ease;
}
.qa[open] summary::after { content: "−"; }
.qa__body { padding: 0 4px 18px; }
.qa__body p { color: var(--muted); }

/* ---------- Karta formularza #2 ---------- */
.signup-card {
  margin-top: 40px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow);
}
.signup-card__title { font-size: clamp(21px, 5.4vw, 26px); text-align: center; }

/* ---------- Stopka ---------- */
.site-footer { padding: 30px 0; background: var(--cream-2); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted); text-align: center;
}
.site-footer a { color: var(--muted); }

/* ---------- Baner zgód ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20,15,50,.22);
  padding: 18px; max-width: 560px; margin: 0 auto;
}
.consent__text { font-size: 14px; color: var(--ink); line-height: 1.5; }
.consent__actions { display: flex; gap: 10px; margin-top: 14px; }
.consent__actions .btn { flex: 1; min-height: 46px; padding: 0 14px; font-size: 15px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .qa summary::after { transition: none; }
}

/* =========================================================================
   DESKTOP / większe ekrany
   ========================================================================= */
@media (min-width: 720px) {
  .section { padding: 76px 0; }
  .problem__cards { grid-template-columns: repeat(3, 1fr); }
  .powers__grid { grid-template-columns: repeat(3, 1fr); }
  .steps { max-width: 680px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 920px) {
  .hero { padding: 24px 0 64px; }
  .hero__inner {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  }
  .hero__media { margin-top: 0; }
  .hero__img { max-height: 78vh; }
  .signup { max-width: 460px; }
}

/* =========================================================================
   LANDING REZERWACJI — komponenty specyficzne dla rezerwacja.heyfibo.com
   Dopisane do bazowego arkusza z poznaj.heyfibo.com (reszta bez zmian).
   ========================================================================= */

/* --- Nagłówek z przyciskiem --------------------------------------------- */
.site-header--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* --- Hero: badge cenowy + CTA ------------------------------------------- */
.price-badge {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 18px;
  font-size: 18px;
}
.price-badge__old {
  color: var(--muted);
  text-decoration: line-through;
}
.price-badge__new {
  font-size: 30px;
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: -.01em;
}
.price-badge__label { color: var(--muted); }

.hero__cta { margin-top: 4px; }
.hero__micro {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* --- Sekcja wideo -------------------------------------------------------- */
.videos__grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
.video { margin: 0; }
.video__title {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--purple-deep);
}
.video__player {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
  display: block;
}
.video__caption {
  margin-top: 12px;
  max-width: 380px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

@media (min-width: 860px) {
  .videos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* --- Sekcja „jak działa" — zdanie zamykające ---------------------------- */
.howto__closing {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-deep);
}

/* --- Karta cenowa (serce strony) ---------------------------------------- */
.pricing__card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  margin-top: 26px;
  text-align: center;
}
.pricing__prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 18px;
}
.pricing__old {
  font-size: 16px;
  color: var(--muted);
}
.pricing__new { font-size: 18px; }
.pricing__new strong {
  display: block;
  font-size: 44px;
  line-height: 1.1;
  color: var(--purple-deep);
  letter-spacing: -.02em;
}
.pricing__save {
  align-self: center;
  margin-top: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--purple-dark);
  font-size: 15px;
  font-weight: 600;
}
.pricing__limit {
  margin: 0 0 22px;
  color: var(--muted);
}
.pricing__included-intro {
  margin: 0 0 12px;
  text-align: left;
  font-weight: 600;
}
.pricing__card .checklist { text-align: left; }
.pricing__cta {
  width: 100%;
  margin-top: 24px;
}
.pricing__micro {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.pricing__transparency {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Sekcja/modal rezerwacji -------------------------------------------- */
/* Bez JS: zwykła sekcja pod ceną. Z JS: klasa .reserve--modal robi z niej modal. */
.reserve__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
}
.reserve__title {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--purple-deep);
}
.reserve__lead {
  margin: 0 0 22px;
  color: var(--muted);
}
.reserve__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
}
.reserve__close:hover { background: var(--cream-2); color: var(--ink); }

.reserve--modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(42, 35, 56, .55);
  overflow-y: auto;
}
.reserve--modal[hidden] { display: none; }
.reserve--modal .container { width: 100%; }
.reserve--modal .reserve__box { margin: auto; }

body.no-scroll { overflow: hidden; }

/* --- Sticky bar (mobile) ------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(47, 37, 112, .10);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta__price {
  font-size: 16px;
  color: var(--muted);
}
.sticky-cta__price strong {
  font-size: 22px;
  color: var(--purple-deep);
  margin-left: 4px;
}

/* Na desktopie sticky bar niepotrzebny — CTA i tak jest w zasięgu wzroku. */
@media (min-width: 860px) {
  .sticky-cta { display: none; }
}

/* --- Stopka pełna (dane spółki + blok UE) ------------------------------- */
.site-footer--full {
  padding: 40px 0 30px;
  text-align: left;
}
.site-footer__claim {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-deep);
}
.site-footer__cols {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}
.site-footer__company {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.site-footer__eu {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.site-footer__eu p {
  margin: 0 0 8px;
}
.site-footer__eu-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
  background: #fff;
}
.site-footer__copy {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 760px) {
  .site-footer__cols { grid-template-columns: 2fr 1fr; }
}
