/* =========================================================
   Razem to zdamy — style bazowe + HEADER
   Tokeny 1:1 z Figmy (golden reference)
   ========================================================= */

:root {
  /* Kolory marki */
  --navy:        #1B3A7B;
  --navy-dark:   #122752;
  --navy-ink:    #163765; /* tekst w pill telefonu */
  --green:       #4CB050;
  --green-hover: #43a047;
  --green-light: #84B969;
  --teal:        #3CB4C5;
  --ink:         #2C2C2C;
  --muted:       #6B7280;
  --bg-grey:     #F5F7FA;
  --white:       #FFFFFF;
  --border:      #E5E7EB;

  /* Typografia */
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Header — zmienne sterujące shrinkiem (płynnie animowane) */
  --header-h:       96px;
  --header-logo-h:  48px;
  --header-gap:     40px;
  --header-pad-y:   10px;
  --header-shadow:  0 2px 5px rgba(0, 0, 0, 0.05);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.32s;
}

/* Stan po scrollu — mniejszy header, logo, buttony + mocniejszy cień */
.site-header[data-state="scrolled"] {
  --header-h:       68px;
  --header-logo-h:  36px;
  --header-gap:     30px;
  --header-pad-y:   8px;
  --header-shadow:  0 6px 20px rgba(27, 58, 123, 0.10);
}

/* ---------------------------- Reset ---------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; }

/* Focus widoczny (dostępność) */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--header-shadow);
  transition: box-shadow var(--dur) var(--ease),
              background   var(--dur) var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 80px;
  transition: height var(--dur) var(--ease);
}

/* Logo */
.site-header__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header__logo {
  height: var(--header-logo-h);
  width: auto;
  transition: height var(--dur) var(--ease);
}

/* Nawigacja desktop */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--header-gap);
  transition: gap var(--dur) var(--ease);
}
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
/* Podkreślenie akcentem (hover + strona bieżąca) */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--navy-dark); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 700; }

/* Akcje po prawej */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Pill z telefonem */
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--header-pad-y) 16px;
  border-radius: 8px;
  background: rgba(27, 58, 123, 0.06);
  color: var(--navy-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: padding var(--dur) var(--ease),
              background 0.2s var(--ease);
}
.phone-pill:hover { background: rgba(27, 58, 123, 0.11); }
.phone-pill__icon { flex-shrink: 0; }

/* Przycisk */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease),
              transform 0.2s var(--ease),
              padding var(--dur) var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  padding: var(--header-pad-y) 16px;
}
.btn--primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(76, 176, 80, 0.28);
}
.btn--primary:active { transform: translateY(0); }
.btn__icon { flex-shrink: 0; }

/* Mobilny przycisk „ZADZWOŃ" (zielony, z ikoną) — pokazywany w media query */
.header-call {
  display: none;
  gap: 8px;
  white-space: nowrap;
}

/* Hamburger jako obramowany przycisk z labelem „MENU" — ukryty na desktopie */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: var(--header-pad-y) 14px;
  background: transparent;
  border: 1.5px solid rgba(27, 58, 123, 0.25);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: padding var(--dur) var(--ease),
              border-color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--navy); background: rgba(27, 58, 123, 0.04); }
.nav-toggle__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.nav-toggle__box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
}
.nav-toggle__line {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
/* Animacja w „X" gdy otwarte */
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   MENU MOBILNE
   ========================================================= */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(27, 58, 123, 0.10);
  padding: 12px 24px 24px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease),
              transform 0.28s var(--ease),
              visibility 0s linear 0.28s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s var(--ease),
              transform 0.28s var(--ease);
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__link[aria-current="page"] { color: var(--green); }
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.phone-pill--block,
.btn--block { width: 100%; justify-content: center; padding-top: 14px; padding-bottom: 14px; }

.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 39, 82, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0s linear 0.28s;
}
.mobile-menu__backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s var(--ease);
}

/* =========================================================
   PLACEHOLDER (do testu scrolla — usuniemy przy budowie sekcji)
   ========================================================= */
.placeholder {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.placeholder--hero { background: var(--white); color: var(--ink); }
.placeholder--a { background: var(--bg-grey); }
.placeholder--b { background: var(--white); }
.placeholder__eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--teal);
  margin: 0;
}
.placeholder__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  margin: 0;
  max-width: 20ch;
}
.placeholder__text { margin: 0; max-width: 42ch; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1080px) {
  .site-header__inner { padding: 0 40px; }
  .site-header__actions { gap: 12px; }
  .nav,
  .site-header__actions .phone-pill,
  .site-header__actions .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-call { display: inline-flex; }
}

@media (max-width: 480px) {
  .site-header__inner { padding: 0 16px; }
  .site-header__actions { gap: 10px; }
  :root { --header-h: 76px; --header-logo-h: 38px; }
  .site-header[data-state="scrolled"] { --header-h: 62px; --header-logo-h: 34px; }
  .nav-toggle,
  .header-call { padding-left: 12px; padding-right: 12px; }
  .nav-toggle { gap: 7px; }
}

/* Za wąsko na oba przyciski — zostaje samo „MENU" */
@media (max-width: 460px) {
  .header-call { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  --hero-green: #5EC163;
  position: relative;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background:
    radial-gradient(120% 95% at 80% 28%, rgba(60, 180, 197, 0.30) 0%, rgba(60, 180, 197, 0) 46%),
    linear-gradient(135deg, #10224f 0%, #1B3A7B 50%, #1f5a9c 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 48px;
  max-width: 1300px;
  min-height: 640px;
  margin: 0 auto;
  padding: 72px 64px 0;
}

/* --- Treść --- */
.hero__content { max-width: 660px; padding-bottom: 120px; }

.hero__script {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--hero-green);
  margin: 0 0 8px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.hero__accent,
.hero__title .accent-green { color: var(--hero-green); }

.hero__lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin: 0 0 32px;
}
.hero__lead strong { color: var(--white); font-weight: 700; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.btn--lg { padding: 15px 26px; font-size: 16px; gap: 10px; }
.btn__arrow { flex-shrink: 0; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--white);
  transform: translateY(-1px);
}

.hero__countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 10px 0;
  padding: 9px 16px;
  border: 1.5px solid rgba(60, 180, 197, 0.55);
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: #bfe6ee;
}
.hero__countdown b { color: var(--white); font-weight: 700; }

/* --- Zdjęcie + kształt --- */
.hero__media {
  position: relative;
  align-self: end;
  justify-self: center;
  display: flex;
  align-items: flex-end;
  height: 100%;
}
/* Warstwa kształtów w tle (bloby + poświata) */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__photo {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: 600px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(8, 20, 45, 0.35));
}

/* --- Doodle --- */
.hero__doodles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* --- Fala --- */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  display: block;
  width: 100%;
  height: clamp(115px, 12.5vw, 185px);
}

/* =========================================================
   STATYSTYKI
   ========================================================= */
.stats { background: var(--white); }
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 80px 34px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  color: var(--navy);
  margin: 0;
}
.stat__label { color: var(--muted); margin: 6px 0 0; }
.stat__icon {
  width: 40px;
  height: 40px;
  margin: 14px auto 0;
  color: var(--teal);
}
.stats__note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px 30px;
  color: #9aa3b2;
  font-size: 12.5px;
  text-align: center;
}

/* =========================================================
   HERO / STATS — responsywność
   ========================================================= */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 56px 40px 0;
    gap: 8px;
  }
  .hero__content { padding-bottom: 24px; max-width: 620px; }
  .hero__media { justify-self: center; }
  .hero__photo { max-height: 440px; }
  .hero__doodles { opacity: 0.5; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); row-gap: 32px; padding: 24px 40px 32px; }
  .stats__note { padding: 0 40px 28px; }
}

@media (max-width: 560px) {
  .hero__inner { padding: 40px 20px 0; }
  .hero__actions .btn--lg { flex: 1 1 auto; justify-content: center; }
  .hero__countdown {
    width: 100%;
    margin-right: 0;
    padding: 9px 10px;
    gap: 5px;
  }
  .hero__countdown > svg { flex: 0 0 16px; }
  .hero__countdown > span:first-of-type { white-space: nowrap; }
  .hero__countdown-days { margin-left: auto; }
  .hero__photo { max-height: 360px; }
  .hero__doodles { display: none; }
  .stats__inner { padding: 20px 20px 28px; gap: 20px; }
  .stats__note { padding: 0 20px 24px; }
}

@media (max-width: 340px) {
  .hero__countdown > span:first-of-type { white-space: normal; }
}

/* =========================================================
   JAK WYGLĄDAJĄ ZAJĘCIA (metoda — 4 kroki)
   ========================================================= */
.method {
  position: relative;
  overflow: hidden;
  background: #F6F9FC;
  padding: 88px 0 96px;
}
.accent-green { color: var(--green); }

.method__head {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}
.method__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--navy);
  margin: 0;
}
.method__sub {
  color: var(--muted);
  font-size: 16px;
  margin: 10px 0 0;
}

.method__steps {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 22px 32px 0;
  counter-reset: rtzstep;
}

/* Karta kroku */
.step-card {
  position: relative;
  flex: 1 1 200px;
  max-width: 270px;
  min-height: 250px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(27, 58, 123, 0.08);
  padding: 46px 24px 28px;
  overflow: visible;
  counter-increment: rtzstep;
}
.step-card__badge {
  position: absolute;
  top: -21px;
  left: 26px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #2f79bf, #1B3A7B);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(27, 58, 123, 0.32);
}
.step-card__badge::before { content: counter(rtzstep); }
.step-card__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
}
.step-card__text {
  position: relative;
  z-index: 2;
  max-width: 100%;
  color: #5a6577;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  /* zostawiamy dół-prawo na ilustrację (absolutną) */
  padding-bottom: 64px;
}
.step-card__illu {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
  width: 88px;
  height: 88px;
}
.step-card__dots {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 0;
  width: 52px;
  height: 34px;
  opacity: 0.7;
}

/* Strzałka między krokami */
.method__arrow {
  flex: 0 0 48px;
  align-self: flex-start;
  margin-top: 60px;
  width: 48px;
  height: 28px;
  color: var(--teal);
}
.method__steps > .method__arrow:last-child { display: none; }

/* Dekoracje sekcji (rozłożone: góra + boki + dół, nigdy na wysokości kart) */
.method__decor { position: absolute; z-index: 1; pointer-events: none; }
.method__decor--x     { top: 56px;   left: 48px;  width: 30px; height: 30px; }
.method__decor--dots1 { top: 94px;   left: 48px;  width: 34px; height: 24px; }
.method__decor--notes { top: 56px;   left: 30%;   width: 46px; height: 40px; }
.method__decor--curve { top: 34px;   right: 96px; width: 60px; height: 40px; }
.method__decor--sqrt  { top: 56px;   right: 56px; width: 56px; height: 40px; }
.method__decor--plus  { bottom: 70px; left: 47%;  width: 22px; height: 22px; }
.method__decor--spark { bottom: 60px; left: 8%;   width: 28px; height: 28px; }
.method__decor--dots2 { bottom: 54px; right: 8%;  width: 46px; height: 24px; }

/* Responsywność metody */
@media (max-width: 1080px) {
  .method__arrow { display: none; }
  .step-card { flex: 1 1 42%; max-width: 320px; }
  .method__decor--notes, .method__decor--plus, .method__decor--spark { display: none; }
}
@media (max-width: 640px) {
  .method { padding: 64px 0 72px; }
  .step-card { flex: 1 1 100%; max-width: 380px; min-height: 0; padding-bottom: 24px; }
  .method__decor { display: none; }
}

/* =========================================================
   DLA KOGO SĄ ZAJĘCIA (poziomy — 6 kart)
   ========================================================= */
.levels {
  position: relative;
  overflow: hidden;
  background: #FBFCFE;
  padding: 84px 0 96px;
}
.levels__head {
  max-width: 720px;
  margin: 0 auto 52px;
  padding: 0 24px;
  text-align: center;
}
.levels__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--navy);
  margin: 0;
}
.levels__accent {
  position: relative;
  display: inline-block;
  color: var(--green);
  white-space: nowrap;
}
.levels__underline {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 106%;
  height: 0.5em;
  overflow: visible;
}
.levels__title .accent-green {
  position: relative;
  display: inline-block;
  color: var(--green);
  white-space: nowrap;
}
.levels__title .accent-green::after {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 106%;
  height: 0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 18' preserveAspectRatio='none'%3E%3Cpath d='M10 11 C 22 3, 35 3, 35 9.5 C 35 15, 22 14, 18 8 C 42 5, 92 5, 122 9' stroke='%2333a7c9' stroke-width='3.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  pointer-events: none;
}
.levels__sub {
  color: var(--muted);
  font-size: 16px;
  margin: 12px 0 0;
}

.levels__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px 0;
}

/* Karta poziomu */
.level-card {
  position: relative;
  flex: 1 1 180px;
  max-width: 210px;
  padding: 44px 22px 26px;
  border-radius: 14px;
  border: 1px solid #e9edf5;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(120, 150, 190, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 150, 190, 0.09) 1px, transparent 1px);
  background-size: 20px 20px;
  box-shadow: 0 10px 26px rgba(27, 58, 123, 0.06);
  overflow: visible;
}
.level-card__clip {
  position: absolute;
  top: -13px;
  left: 20px;
  z-index: 3;
  width: 24px;
  height: 46px;
  filter: drop-shadow(0 3px 3px rgba(27, 58, 123, 0.12));
}
.level-card__flag {
  position: absolute;
  top: -9px;
  left: 52%;
  z-index: 2;
  width: 18px;
  height: 22px;
  display: none;
  filter: drop-shadow(0 3px 3px rgba(27, 58, 123, 0.12));
}
.level-card__icon {
  display: block;
  width: 58px;
  height: 58px;
  margin: 6px auto 16px;
}
.level-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 10px;
}
.level-card__text {
  color: #5a6577;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.levels__grid > .level-card:nth-child(6n+1) .level-card__clip { color: #1B3A7B; }
.levels__grid > .level-card:nth-child(6n+2) .level-card__clip { color: #2f79bf; }
.levels__grid > .level-card:nth-child(6n+3) .level-card__clip { color: #4CB050; }
.levels__grid > .level-card:nth-child(6n+4) .level-card__clip { color: #84B969; }
.levels__grid > .level-card:nth-child(6n+5) .level-card__clip { color: #F6B93B; }
.levels__grid > .level-card:nth-child(6n) .level-card__clip { color: #efb52e; }
.levels__grid > .level-card:nth-child(6n+2) .level-card__flag {
  display: block;
  color: #2f79bf;
}
.levels__grid > .level-card:nth-child(6n+3) .level-card__flag {
  display: block;
  color: #4CB050;
}
.levels__grid > .level-card:nth-child(6n+5) .level-card__flag {
  display: block;
  color: #F6B93B;
}

/* Responsywność poziomów: 6 -> 3 -> 2 -> 1 */
@media (max-width: 1100px) {
  .level-card { flex: 1 1 28%; max-width: 260px; }
}
@media (max-width: 680px) {
  .levels { padding: 64px 0 72px; }
  .level-card { flex: 1 1 42%; max-width: 320px; }
}
@media (max-width: 420px) {
  .level-card { flex: 1 1 100%; max-width: 360px; }
}

/* =========================================================
   O MNIE
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  background: #F6FAFD;
  padding: 92px 0;
}
.about__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Zdjęcie + dekoracje --- */
.about__media { position: relative; }
.about__photo-frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 1 / 1.12;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #d7ebf1, #eef5f8);
  box-shadow: 0 22px 50px rgba(27, 58, 123, 0.16);
}
.about__photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}
.about__blob {
  position: absolute;
  z-index: 1;
  border-radius: 58% 42% 55% 45% / 55% 45% 58% 42%;
}
.about__blob--1 { width: 92%; height: 90%; top: -26px; left: -34px; background: #d8eef3; }
.about__blob--2 { width: 46%; height: 46%; bottom: -26px; right: -22px; background: rgba(60, 180, 197, 0.22); border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
.about__dots { position: absolute; z-index: 3; top: -20px; left: -22px; width: 56px; height: 56px; }
.about__heart {
  position: absolute;
  z-index: 3;
  bottom: -22px;
  left: -22px;
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 8px 18px rgba(27, 58, 123, 0.38));
}

/* --- Treść --- */
.badge-pill {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(60, 180, 197, 0.12);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy);
  margin: 0 0 18px;
}
.about__text {
  color: #5a6577;
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 26px;
}
.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.about-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #e5e9f0;
  box-shadow: 0 4px 12px rgba(27, 58, 123, 0.05);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  white-space: nowrap;
}
.about-chip svg { color: var(--teal); flex-shrink: 0; }

.about__cta {
  position: relative;
  display: inline-block;
}
.about__cta .btn__arrow { width: 20px; height: 20px; }
.about__plane {
  position: absolute;
  z-index: 1;
  left: calc(100% - 6px);
  top: 50%;
  transform: translateY(-44%);
  width: 208px;
  height: auto;
  pointer-events: none;
}

/* --- Wariant CIEMNY „O mnie" (stylistyka HERO, przełamanie w połowie) --- */
.about--dark {
  color: var(--white);
  background:
    radial-gradient(120% 100% at 82% 28%, rgba(60, 180, 197, 0.28) 0%, rgba(60, 180, 197, 0) 48%),
    linear-gradient(135deg, #10224f 0%, #1B3A7B 55%, #1f5a9c 100%);
}
.about--dark .badge-pill { background: rgba(94, 210, 228, 0.14); color: #86dcea; }
.about--dark .about__title { color: #fff; }
.about--dark .accent-green { color: #5EC163; }
.about--dark .about__text { color: rgba(255, 255, 255, 0.82); }
.about--dark .about-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #fff;
}
.about--dark .about-chip svg { color: #5ecfe0; }
.about--dark .about__photo-frame {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about--dark .about__blob--1 { background: rgba(60, 180, 197, 0.14); }
.about--dark .about__blob--2 { background: rgba(94, 193, 99, 0.20); }
.about--dark .about__heart circle:first-of-type { fill: #3CB4C5; }

/* Drobiazgi w tle (tylko wariant ciemny) */
.about__deco { display: none; position: absolute; z-index: 1; pointer-events: none; }
.about--dark .about__deco { display: block; }
.about__deco--x       { top: 58px;   left: 4.5%;  width: 26px; height: 26px; }
.about__deco--sqrt    { top: 60px;   right: 25%;  width: 52px; height: 38px; }
.about__deco--pi      { top: 52px;   left: 53%;   font-family: var(--font-head); font-size: 30px; color: rgba(255,255,255,.42); }
.about__deco--spark   { top: 92px;   right: 6%;   width: 30px; height: 30px; }
.about__deco--ring    { top: 40%;    right: 3.2%; width: 30px; height: 30px; }
.about__deco--plus1   { top: 25%;    right: 8.5%; width: 22px; height: 22px; }
.about__deco--plus2   { bottom: 96px; left: 46%;  width: 22px; height: 22px; }
.about__deco--diamond { bottom: 62px; right: 20%; width: 42px; height: 24px; }
.about__deco--dots1   { bottom: 52px; left: 55%;  width: 46px; height: 46px; }
.about__deco--dots2   { bottom: 40px; left: 3%;   width: 46px; height: 46px; }

/* Responsywność O mnie */
@media (max-width: 900px) {
  .about { padding: 64px 0 72px; }
  .about__inner { grid-template-columns: 1fr; gap: 44px; padding: 0 24px; }
  .about__media { max-width: 380px; margin: 0 auto; width: 100%; }
  .about__plane { display: none; }
  .about--dark .about__deco { display: none; }
}
@media (max-width: 480px) {
  .about__chips { gap: 10px; }
  .about-chip { font-size: 12.5px; padding: 8px 14px; }
}

/* =========================================================
   OPINIE UCZNIÓW
   ========================================================= */
.reviews {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  padding: 86px 0 84px;
}
.reviews__head { text-align: center; margin: 0 auto 52px; padding: 0 24px; }
.reviews__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--navy);
  margin: 0;
}
.reviews__accent { position: relative; display: inline-block; color: var(--green); white-space: nowrap; }
.reviews__underline { position: absolute; left: -2%; bottom: -0.24em; width: 104%; height: 0.5em; overflow: visible; }
.reviews__title .accent-green {
  position: relative;
  display: inline-block;
  color: #33a7c9;
  white-space: nowrap;
}
.reviews__title .accent-green::after {
  position: absolute;
  left: -2%;
  bottom: -0.24em;
  width: 104%;
  height: 0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 16' preserveAspectRatio='none'%3E%3Cpath d='M5 8 C 24 12, 46 3, 68 6 C 92 9, 116 3, 135 8' stroke='%2333a7c9' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M12 12.5 C 32 14.5, 52 9.5, 74 11.5 C 96 13.5, 116 10.5, 128 12.5' stroke='%2333a7c9' stroke-width='2.1' fill='none' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  pointer-events: none;
}

/* Slider (coverflow) */
.reviews__stage {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}
.reviews__track {
  position: relative;
  height: 384px;
  cursor: grab;
  touch-action: pan-y;
}
.reviews__track.is-grabbing,
.reviews__track.is-grabbing .review-card { cursor: grabbing; }

/* Karta opinii — pozycja wg roli (JS: is-active / is-prev / is-next) */
.review-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 384px;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 30px 36px;
  border: 1px solid transparent;
  box-shadow: 0 16px 40px rgba(27, 58, 123, 0.10);
  transform: translate(-50%, -50%) translateX(0) scale(0.8) rotate(0deg);
  opacity: 0;
  z-index: 0;
  cursor: pointer;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease),
              box-shadow 0.45s var(--ease), border-color 0.3s var(--ease);
  will-change: transform, opacity;
}
.review-card.is-active {
  transform: translate(-50%, -50%) translateX(0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 3;
  border-color: rgba(60, 180, 197, 0.4);
  box-shadow: 0 26px 60px rgba(27, 58, 123, 0.18);
  cursor: default;
}
.review-card.is-prev {
  transform: translate(-50%, -50%) translateX(-288px) scale(0.8) rotate(-3deg);
  opacity: 0.92;
  z-index: 2;
}
.review-card.is-next {
  transform: translate(-50%, -50%) translateX(288px) scale(0.8) rotate(3deg);
  opacity: 0.92;
  z-index: 2;
}
.review-card.is-hidden {
  transform: translate(-50%, -50%) translateX(0) scale(0.6) rotate(0deg);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.review-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}
.review-avatar--blue  { background: #2f79bf; }
.review-avatar--teal  { background: #3CB4C5; }
.review-avatar--green { background: #4CB050; }
.review-avatar--navy  { background: #1B3A7B; }
.review-card__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy); margin: 0; }
.review-card__sub { color: var(--muted); font-size: 13px; margin: 2px 0 0; }

.review-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review-stars svg { width: 17px; height: 17px; }

.review-text {
  color: #40495a;
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  max-width: 90%;
}

.review-quote {
  position: absolute;
  right: 24px;
  bottom: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 80px;
  line-height: 1;
  color: #cfe0ee;
  pointer-events: none;
}
.review-dots { position: absolute; left: 30px; bottom: 22px; width: 52px; height: 22px; opacity: .8; transition: opacity .4s var(--ease); }
.review-card.is-active .review-dots { opacity: 0; }

/* Czerwona plakietka serca — tylko na aktywnej karcie */
.review-heart {
  position: absolute;
  top: -18px; right: -16px;
  width: 48px; height: 48px;
  display: none;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff5d63, #e5333b);
  border-radius: 50% 50% 50% 14px;
  box-shadow: 0 10px 20px rgba(229, 51, 59, 0.42);
}
.review-card.is-active .review-heart { display: flex; }
.review-heart svg { width: 22px; height: 22px; }

/* Nawigacja slidera (blisko kart, absolutnie od sceny) */
.reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 52px;
  padding: 0;
  background: none; border: none; cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.reviews__nav:hover { opacity: 1; transform: translateY(-50%) scale(1.14); }
.reviews__nav:active { transform: translateY(-50%) scale(0.96); }
.reviews__nav svg { width: 52px; height: 30px; }
.reviews__nav--prev { left: 5.5%; }
.reviews__nav--next { right: 5.5%; }

/* Paginacja (kropki) */
.reviews__pagination {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 34px auto 0;
}
.reviews__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cdd9ea;
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.reviews__dot:hover { background: #9fb4d0; }
.reviews__dot.is-active {
  width: 26px;
  background: var(--teal);
}
.reviews__dot.is-active:hover { background: var(--teal); }

/* Link "więcej" */
.reviews__more {
  position: relative;
  z-index: 2;
  display: block;
  width: max-content;
  margin: 28px auto 0;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid rgba(76, 176, 80, 0.35);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.reviews__more:hover { color: var(--green-hover); border-color: var(--green); }

/* Dekoracje */
.reviews__decor { position: absolute; z-index: 1; pointer-events: none; }
.reviews__decor--spark { top: 78px; right: 22%; width: 40px; height: 40px; }

/* Responsywność opinii — na mobile pojedyncza karta + strzałki */
@media (max-width: 980px) {
  .reviews__stage { padding: 0 48px; }
  .reviews__track { height: 360px; }
  .review-card { width: min(86vw, 360px); }
  .review-card.is-prev, .review-card.is-next {
    transform: translate(-50%, -50%) translateX(0) scale(0.92) rotate(0deg);
    opacity: 0;
    pointer-events: none;
  }
  .reviews__nav--prev { left: 0; }
  .reviews__nav--next { right: 0; }
  .reviews__decor--spark { display: none; }
}

/* =========================================================
   CENNIK
   ========================================================= */
.pricing {
  position: relative;
  overflow: hidden;
  background: #F5F9FD;
  padding: 84px 0 88px;
}
.pricing__head { position: relative; z-index: 2; text-align: center; margin: 0 auto 50px; padding: 0 24px; }
.pricing__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--navy);
  margin: 0;
}
.pricing__sub { color: var(--muted); font-size: 16px; margin: 10px 0 0; }

.pricing__grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px clamp(24px, 5vw, 80px) 0;
}

/* Karta cennika */
.price-card {
  position: relative;
  flex: 1 1 300px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e9edf5;
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 14px 36px rgba(27, 58, 123, 0.07);
}
.price-card--featured {
  border: 2px solid var(--green);
  box-shadow: 0 22px 50px rgba(27, 58, 123, 0.12);
}
.price-card__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  padding: 7px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(60, 180, 197, 0.38);
}

.price-card__top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.price-card--featured .price-card__top { margin-top: 6px; }
.price-card__icon { width: 62px; height: 62px; flex-shrink: 0; }
.price-card__info { flex: 1; min-width: 0; }
.price-card__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy); margin: 4px 0 10px; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 12px; }
.price-card__amount { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--navy); }
.price-card__unit { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #5a6577; }
.price-card__custom { display: block; font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--navy); margin: 0 0 12px; }
.price-card__desc { color: #5a6577; font-size: 14px; line-height: 1.6; margin: 0; }
.price-card .btn { margin-top: auto; font-size: 15px; }

/* Zielony przycisk konturowy */
.btn--ghost-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn--ghost-green:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(76, 176, 80, 0.26);
}

.pricing__note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 34px auto 0;
  padding: 0 24px;
  color: #5a6577;
  font-size: 14.5px;
  text-align: center;
}
.pricing__note::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%234CB050'/%3E%3Cpath d='M7.5 12.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing__note > svg { display: none; }

/* Dekoracje tła (inny układ niż w innych sekcjach) */
.pricing__decor { position: absolute; z-index: 1; pointer-events: none; }
.pricing__decor--blob1 {
  top: -90px; left: -110px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 180, 197, 0.15), rgba(60, 180, 197, 0) 70%);
}
.pricing__decor--blob2 {
  bottom: -140px; right: -120px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 176, 80, 0.11), rgba(76, 176, 80, 0) 70%);
}
.pricing__decor--dots  { top: 64px;  right: 6%;  width: 60px; height: 40px; }
.pricing__decor--spark { top: 42%;   left: 5%;   width: 30px; height: 30px; }
.pricing__decor--plus  { bottom: 58px; left: 12%; width: 22px; height: 22px; }
.pricing__decor--ring  { top: 36%;   right: 7.5%; width: 24px; height: 24px; }

@media (max-width: 940px) {
  .pricing__decor--dots, .pricing__decor--spark,
  .pricing__decor--plus, .pricing__decor--ring { display: none; }
}

@media (max-width: 940px) {
  .price-card { flex: 1 1 100%; max-width: 440px; }
}
@media (max-width: 480px) {
  .pricing__grid { padding: 12px 20px 0; }
  .price-card__amount { font-size: 40px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  padding: 86px 0 92px;
}
.faq__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Lewa kolumna */
.faq__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}
.faq__accent { position: relative; display: inline-block; color: var(--green); }
.faq__underline { position: absolute; left: -2%; bottom: -0.26em; width: 104%; height: 0.42em; overflow: visible; }
.faq__title .accent-green {
  position: relative;
  display: inline-block;
  color: var(--green);
}
.faq__title .accent-green::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -0.26em;
  width: 104%;
  height: 0.42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 16' preserveAspectRatio='none'%3E%3Cpath d='M6 9 C 30 13, 66 4, 124 8' stroke='%234CB050' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.faq__sub { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 16px 0 0; max-width: 340px; }
.faq__illustration { display: block; width: 100%; max-width: 380px; height: auto; margin: 20px 0 0; }

/* Akordeon */
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #ffffff;
  border: 1px solid #e9edf5;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(27, 58, 123, 0.05);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item.is-open {
  border-color: rgba(76, 176, 80, 0.4);
  box-shadow: 0 14px 34px rgba(27, 58, 123, 0.09);
}
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.faq-item__check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: none;
}
.faq-item.is-open .faq-item__check { display: block; }
.faq-item__text { flex: 1; }
.faq-item__chev {
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.faq-item.is-open .faq-item__chev { transform: rotate(180deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p {
  margin: 0;
  padding: 0 22px 20px 56px;
  color: #5a6577;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .faq__inner { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .faq__intro { text-align: center; }
  .faq__sub { max-width: none; }
  .faq__illustration { max-width: 300px; margin: 20px auto 0; }
  .faq-item__a p { padding-left: 22px; }
}

/* =========================================================
   CTA KOŃCOWE
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 96px 24px 86px;
  background:
    radial-gradient(120% 150% at 50% 0%, rgba(47, 121, 191, 0.35), rgba(47, 121, 191, 0) 55%),
    linear-gradient(180deg, #1b3f86 0%, #122a5e 100%);
}
.cta__inner { position: relative; z-index: 3; max-width: 660px; margin: 0 auto; }
.cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin: 0 0 14px;
}
.cta__accent,
.cta__title .accent-green { color: #5EC163; }
.cta__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 30px;
}
.cta__btn,
.cta .btn { box-shadow: 0 12px 28px rgba(76, 176, 80, 0.32); }
.cta .btn__arrow { width: 20px; height: 20px; }

/* markowa fala gradientowa z lewej (kontenerowa, styka się z dołem) */
.cta__wave { position: absolute; top: 0; bottom: 0; left: 0; width: min(600px, 46%); height: 100%; z-index: 1; }

/* dekoracje */
.cta__decor { position: absolute; z-index: 2; pointer-events: none; }
.cta__decor--plane  { top: 12px;  left: 39%;  width: 150px; height: auto; }
.cta__decor--sqrt   { top: 20px;  right: 13%; width: 54px; height: 40px; }
.cta__decor--x      { top: 52%;   left: 22%;  width: 26px; height: 26px; }
.cta__decor--swoosh { top: 18px;  right: 4.5%; width: 132px; height: 88px; }
.cta__decor--check1 { bottom: 40px; left: 27%; width: 40px; height: 24px; }
.cta__decor--check2 { top: 48%;   right: 22%; width: 40px; height: 24px; }
.cta__decor--spark  { bottom: 44px; right: 12%; width: 28px; height: 28px; }

@media (max-width: 780px) {
  .cta { padding: 60px 20px 64px; }
  .cta__decor--plane, .cta__decor--sqrt, .cta__decor--x,
  .cta__decor--swoosh, .cta__decor--check1, .cta__decor--check2,
  .cta__decor--spark { display: none; }
  .cta__wave { width: 40%; opacity: .8; }
}

/* =========================================================
   STOPKA
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 92px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, #14285a 0%, #0d1c42 100%);
}
.footer__wave { position: absolute; top: 0; left: 0; width: 100%; height: 72px; z-index: 1; }

/* dekoracje tła */
.footer__decor { position: absolute; z-index: 1; pointer-events: none; }
.footer__decor--x      { top: 118px; left: 6%;  width: 26px; height: 26px; }
.footer__decor--dots1  { top: 236px; left: 4.5%; width: 44px; height: 44px; }
.footer__decor--dots2  { bottom: 150px; left: 56%; width: 44px; height: 44px; }
.footer__decor--sqrt   { top: 110px; left: 29%; width: 54px; height: 38px; }
.footer__decor--pi     { top: 100px; left: 49.5%; font-family: var(--font-head); font-size: 30px; color: rgba(255,255,255,.5); }
.footer__decor--ring1  { top: 300px; left: 60%; width: 30px; height: 30px; }
.footer__decor--ring2  { top: 250px; right: 3.5%; width: 26px; height: 26px; }
.footer__decor--plus1  { bottom: 168px; left: 63%; width: 22px; height: 22px; }
.footer__decor--plus2  { top: 116px; right: 6%; width: 22px; height: 22px; }
.footer__decor--plane  { bottom: 130px; left: 2.5%; width: 110px; height: 56px; }
.footer__decor--cube   { bottom: 120px; right: 4%; width: 52px; height: 60px; }

.footer__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

/* Marka */
.footer__logo { display: inline-flex; align-items: center; gap: 14px; }
.footer__logo-badge {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.footer__logo-badge img { width: 44px; height: 44px; }
.footer__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  color: #fff;
}
.footer__tagline {
  margin: 20px 0 22px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 330px;
}
.footer__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.fpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.fpill svg { width: 15px; height: 15px; }
.fpill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(76, 176, 80, 0.25); }
.footer__social { display: flex; gap: 12px; }
.fsocial {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #2f6fbf;
  color: #fff;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.fsocial svg { width: 22px; height: 22px; }
.fsocial:hover { background: #3f86dd; transform: translateY(-2px); }

/* Kolumny linków */
.footer__heading {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.footer__links li { margin-bottom: 4px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__links svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__links a:hover { color: #fff; transform: translateX(3px); }

/* Karta kontaktu */
.footer__contact {
  padding: 28px 28px 30px;
  border: 1px solid rgba(60, 180, 197, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 40px rgba(60, 180, 197, 0.12);
}
.fcontact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s var(--ease);
}
.fcontact svg { width: 22px; height: 22px; flex-shrink: 0; }
a.fcontact:hover { color: #fff; }
.footer__divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.14); margin: 22px 0; }
.footer__cta { margin-top: 0; }

/* Pasek dolny */
.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 1240px;
  margin: 54px auto 0;
  padding: 26px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__copy, .footer__credit { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.footer__bottom svg { width: 20px; height: 20px; flex-shrink: 0; }
.footer__credit a { color: rgba(255, 255, 255, 0.82); }
.footer__credit a:hover { color: var(--green); }

@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__decor--sqrt, .footer__decor--pi, .footer__decor--dots2,
  .footer__decor--ring1, .footer__decor--plus1, .footer__decor--cube { display: none; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 74px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__decor { display: none; }
}

/* Szanuj preferencję ograniczenia ruchu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; }
}
