/* ==========================================================================
   custom-2026.css
   Własne style odświeżenia 2026, wspólne dla wszystkich podstron.

   - Ładowany PO application.css (motyw: "Lawyer HTML Template"), którego
     nie modyfikujemy.
   - Prefiks .mlg- = komponenty własne (Małyga). Nie używamy gołych tagów
     (h2, p, a) ani nadpisań klas motywu (.bbx-*) poza zakresem .mlg-.
   - Nowe podstrony dopisujemy w osobnych blokach poniżej, każdy z nagłówkiem
     komentarza. Zmiany dotyczące jednej strony zawężamy klasą body,
     np. body.index .mlg-...
   - Zasady formatowania jak w motywie: 2 spacje, jedna deklaracja w linii.
   ========================================================================== */

/* ---------- STRONA GŁÓWNA: sekcje „Zdolność kredytowa pod lupą" ---------- */
.mlg-section {
  padding: 96px 0;
}
.mlg-section--tight-top {
  padding-top: 0;
}
.mlg-section .section-content-width {
  padding: 0 24px;
  box-sizing: border-box;
}
.mlg-text {
  color: rgba(0, 0, 0, 0.62);
}
.mlg-text strong {
  color: #000;
}

/* Nagłówki – motyw ma h2 60px/uppercase, tu wersja czytelna dla dłuższych tytułów */
.mlg-h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 52px;
  font-weight: 900;
  text-transform: none;
  margin: 0 0 24px 0;
}
.mlg-h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  margin: 0 0 18px 0;
}
.mlg-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px auto;
}
.mlg-head .bbx-sergeant {
  margin-bottom: 12px;
}
.mlg-lead {
  font-size: 19px;
  line-height: 30px;
  color: rgba(0, 0, 0, 0.62);
  margin: 0;
}

/* Siatki */
.mlg-grid {
  display: grid;
  gap: 32px;
}
.mlg-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.mlg-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.mlg-grid--split {
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

/* A. Czynniki zdolności */
.mlg-factors {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mlg-factors li {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  padding: 28px 14px 24px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.mlg-factors li i {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: #3498db;
  margin-bottom: 16px;
}
.mlg-note {
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid #3498db;
}

/* B. Karty: samodzielnie vs ekspert */
.mlg-card {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  padding: 40px;
  box-sizing: border-box;
}
.mlg-card--accent {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 3px 0 0 #3498db;
}
.mlg-card .bbx-simple-box {
  margin: 0 0 24px 0;
  color: #3498db;
}
.mlg-card .bbx-icon-list li {
  margin-bottom: 16px;
}
.mlg-card .bbx-icon-list li i {
  left: 0;
  color: #3498db;
}
.mlg-list-intro {
  margin-bottom: 12px;
}
.mlg-card .mlg-list-compact li {
  margin-bottom: 6px;
}
.mlg-card-foot {
  margin: 24px 0 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.62);
}
.mlg-card-foot strong {
  color: #000;
}
.mlg-cta {
  margin-top: 28px;
}

/* C. Ciemny pas – 3 kroki */
.mlg-band {
  background-color: #262626;
  color: #fff;
}
.mlg-band .mlg-h2,
.mlg-band .mlg-h3 {
  color: #fff;
}
.mlg-band .bbx-divider-small.style-2 {
  background-color: rgba(255, 255, 255, 0.3);
}
.mlg-band .mlg-text {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.mlg-step {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.mlg-step-no {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  color: #3498db;
  margin-bottom: 20px;
}
.mlg-pullquote {
  max-width: 820px;
  margin: 64px auto 0 auto;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 36px;
  color: #fff;
}

/* D. Poznań */
.mlg-grid--split .mlg-h2 {
  font-size: 34px;
  line-height: 46px;
}
.mlg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* Kotwica formularza – margines na przyklejony nagłówek */
#kontakt {
  scroll-margin-top: 96px;
}

/* Responsywność */
@media (max-width: 1024px) {
  .mlg-section {
    padding: 72px 0;
  }
  .mlg-section--tight-top {
    padding-top: 0;
  }
  .mlg-factors {
    grid-template-columns: repeat(3, 1fr);
  }
  .mlg-grid--3 {
    grid-template-columns: 1fr;
  }
  .mlg-grid--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .mlg-section {
    padding: 56px 0;
  }
  .mlg-section--tight-top {
    padding-top: 0;
  }
  .mlg-h2,
  .mlg-grid--split .mlg-h2 {
    font-size: 28px;
    line-height: 38px;
  }
  .mlg-h3 {
    font-size: 21px;
    line-height: 30px;
  }
  .mlg-lead {
    font-size: 17px;
    line-height: 27px;
  }
  .mlg-head {
    margin-bottom: 32px;
  }
  .mlg-grid--2 {
    grid-template-columns: 1fr;
  }
  .mlg-factors {
    grid-template-columns: repeat(2, 1fr);
  }
  .mlg-card {
    padding: 28px 22px;
  }
  .mlg-pullquote {
    font-size: 19px;
    line-height: 31px;
    margin-top: 40px;
  }
  .mlg-actions .bbx-button,
  .mlg-cta {
    display: block;
    text-align: center;
  }
}
@media (max-width: 400px) {
  .mlg-factors {
    grid-template-columns: 1fr;
  }
}
