/* Uniwersalne FAQ (wielokrotnego użytku) */
.faq-heading{
  max-width: 980px;
  margin: 0 auto 14px auto;
  text-align: center;
  color: #420335; /* wymagany kolor nagłówków */
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.02em;
}

/* kontener sekcji FAQ – jeśli dasz <section class="faq-section"> */
.faq-section{
  width: 100%;
  display: block;
  padding: clamp(18px, 3vw, 36px) 16px;
  box-sizing: border-box;
}

/* pojedynczy element FAQ */
.faq-details{
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  overflow: hidden;
}

.faq-details + .faq-details{
  margin-top: 12px;
}

/* nagłówek pytania */
.faq-summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  user-select: none;
  background: linear-gradient(180deg, #ffffff, #faf7fb);
}

/* usuń domyślny marker (różne przeglądarki) */
.faq-summary::-webkit-details-marker{ display: none; }
details > summary{ list-style: none; }

/* tekst pytania */
.faq-question{
  color: #420335; /* wymagany kolor nagłówków/pytań */
  font-weight: 700;
  line-height: 1.35;
  font-size: clamp(16px, 1.4vw, 18px);
}

/* ikonka rozwijania */
.faq-icon{
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(66,3,53,.18);
  color: #420335;
  background: #fff;
  transition: transform .18s ease;
}

.faq-details[open] .faq-icon{
  transform: rotate(180deg);
}

/* odpowiedź */
.faq-answer{
  padding: 0 18px 16px 18px;
  color: rgba(0,0,0,.78);
  line-height: 1.65;
  font-size: 15.5px;
}

.faq-answer strong{
  color: rgba(0,0,0,.88);
  font-weight: 700;
}

.faq-details[open] .faq-summary{
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

/* focus (a11y) */
.faq-summary:focus,
.faq-summary:focus-visible{
  outline: 3px solid rgba(66,3,53,.22);
  outline-offset: 2px;
  border-radius: 14px;
}

/* mobile */
@media (max-width: 520px){
  .faq-summary{ padding: 14px 14px; }
  .faq-answer{ padding: 0 14px 14px 14px; }
  .faq-icon{ width: 32px; height: 32px; }
}


.toc{
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:16px;
  margin:0 0 24px 0;
  background:#fafafa;
}
.toc > .toc__title{font-weight:700;margin:0 0 10px}
.toc ol{margin:0;padding-left:20px}
.toc li{margin:6px 0}
