/* =========================
   /o-nas/ – dodatki (używa istniejących klas DK)
   ========================= */

.dk-about .dk-about__toc .dk-chip {
  /* dk-chip jest u Ciebie buttonem; tu używamy go też jako <a> */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* delikatne tło dla sekcji fullbleed (jeśli nie masz już takiego na dk-fullbleed) */
.dk-about__alt {
  background: linear-gradient(180deg, rgba(30, 107, 255, 0.06), rgba(255, 255, 255, 0));
}

/* siatki dla podstrony */
.dk-grid--about {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dk-grid--about-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dk-grid--about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* informacyjne karty – bazują na .dk-card / .dk-card__body / .dk-ic */
.dk-card--info {
  cursor: default;
}

.dk-card--soft {
  background: linear-gradient(180deg, rgba(255, 195, 94, 0.10), rgba(255, 255, 255, 0));
}

.dk-card--callout {
  margin-top: 14px;
  border: 1px solid rgba(30, 107, 255, 0.22);
  background: linear-gradient(180deg, rgba(30, 107, 255, 0.08), rgba(255, 255, 255, 0));
}

/* lista w kartach */
.dk-about__list {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.65;
}
.dk-about__list li { margin: 6px 0; }

.dk-about__note {
  margin-top: 14px;
  opacity: 0.9;
}

/* kroki procesu */
.dk-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.dk-steps__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.70);
}

.dk-steps__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(30, 107, 255, 0.10);
}

.dk-steps__title {
  font-weight: 800;
  margin: 0 0 4px;
}
.dk-steps__text {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* FAQ */
.dk-faq {
  display: grid;
  gap: 10px;
}

.dk-faq__item {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.70);
  overflow: hidden;
}

.dk-faq__q {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  list-style: none;
}
.dk-faq__q::-webkit-details-marker { display: none; }

.dk-faq__a {
  padding: 0 16px 14px;
  line-height: 1.65;
  opacity: 0.9;
}

/* CTA */
.dk-cta {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(30, 107, 255, 0.18);
  background: radial-gradient(900px 240px at 10% 10%, rgba(30, 107, 255, 0.12), rgba(255, 255, 255, 0.70)),
              radial-gradient(900px 240px at 90% 10%, rgba(255, 195, 94, 0.14), rgba(255, 255, 255, 0.70));
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dk-cta__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.dk-cta__sub {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

.dk-cta__actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* RWD */
@media (max-width: 980px) {
  .dk-grid--about { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dk-grid--about-3 { grid-template-columns: 1fr; }
  .dk-grid--about-split { grid-template-columns: 1fr; }
  .dk-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .dk-grid--about { grid-template-columns: 1fr; }
  .dk-steps__item { grid-template-columns: 40px 1fr; }
  .dk-steps__num { width: 40px; height: 40px; border-radius: 12px; }
}

/* =========================
   DK Steps – poprawki dla trybu ciemnego
   (zostaw wszystkie selektory – zadziała właściwy)
   ========================= */

html[data-theme="dark"] .dk-steps__item,
body[data-theme="dark"] .dk-steps__item,
body.dark .dk-steps__item,
html.dark .dk-steps__item,
body.theme-dark .dk-steps__item,
html.theme-dark .dk-steps__item,
.dk-dark .dk-steps__item,
.is-dark .dk-steps__item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .dk-steps__num,
body[data-theme="dark"] .dk-steps__num,
body.dark .dk-steps__num,
html.dark .dk-steps__num,
body.theme-dark .dk-steps__num,
html.theme-dark .dk-steps__num,
.dk-dark .dk-steps__num,
.is-dark .dk-steps__num {
  background: rgba(30, 107, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

html[data-theme="dark"] .dk-steps__title,
body[data-theme="dark"] .dk-steps__title,
body.dark .dk-steps__title,
html.dark .dk-steps__title,
body.theme-dark .dk-steps__title,
html.theme-dark .dk-steps__title,
.dk-dark .dk-steps__title,
.is-dark .dk-steps__title {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .dk-steps__text,
body[data-theme="dark"] .dk-steps__text,
body.dark .dk-steps__text,
html.dark .dk-steps__text,
body.theme-dark .dk-steps__text,
html.theme-dark .dk-steps__text,
.dk-dark .dk-steps__text,
.is-dark .dk-steps__text {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1; /* u Ciebie było 0.9 – w dark lepiej kontrolować kolorem */
}

/* (opcjonalnie) lekkie podbicie separacji pomiędzy krokami w dark */
html[data-theme="dark"] .dk-steps,
body[data-theme="dark"] .dk-steps,
body.dark .dk-steps,
html.dark .dk-steps,
body.theme-dark .dk-steps,
html.theme-dark .dk-steps,
.dk-dark .dk-steps,
.is-dark .dk-steps {
  gap: 14px;
}
/* =========================
   DK FAQ + CTA – poprawki dla trybu ciemnego
   ========================= */

html[data-theme="dark"] .dk-faq__item,
body[data-theme="dark"] .dk-faq__item,
body.dark .dk-faq__item,
html.dark .dk-faq__item,
body.theme-dark .dk-faq__item,
html.theme-dark .dk-faq__item,
.dk-dark .dk-faq__item,
.is-dark .dk-faq__item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .dk-faq__q,
body[data-theme="dark"] .dk-faq__q,
body.dark .dk-faq__q,
html.dark .dk-faq__q,
body.theme-dark .dk-faq__q,
html.theme-dark .dk-faq__q,
.dk-dark .dk-faq__q,
.is-dark .dk-faq__q {
  color: rgba(255, 255, 255, 0.94);
}

/* subtelny divider po otwarciu */
html[data-theme="dark"] .dk-faq__item[open] .dk-faq__q,
body[data-theme="dark"] .dk-faq__item[open] .dk-faq__q,
body.dark .dk-faq__item[open] .dk-faq__q,
html.dark .dk-faq__item[open] .dk-faq__q,
body.theme-dark .dk-faq__item[open] .dk-faq__q,
html.theme-dark .dk-faq__item[open] .dk-faq__q,
.dk-dark .dk-faq__item[open] .dk-faq__q,
.is-dark .dk-faq__item[open] .dk-faq__q {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

html[data-theme="dark"] .dk-faq__a,
body[data-theme="dark"] .dk-faq__a,
body.dark .dk-faq__a,
html.dark .dk-faq__a,
body.theme-dark .dk-faq__a,
html.theme-dark .dk-faq__a,
.dk-dark .dk-faq__a,
.is-dark .dk-faq__a {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1; /* wyłącz „szare” przez opacity */
}

/* CTA w dark: zamiast jasnego gradientu – ciemna karta z delikatnym akcentem */
html[data-theme="dark"] .dk-cta,
body[data-theme="dark"] .dk-cta,
body.dark .dk-cta,
html.dark .dk-cta,
body.theme-dark .dk-cta,
html.theme-dark .dk-cta,
.dk-dark .dk-cta,
.is-dark .dk-cta {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(900px 240px at 10% 10%, rgba(30, 107, 255, 0.18), rgba(0, 0, 0, 0) 55%),
    radial-gradient(900px 240px at 90% 10%, rgba(255, 195, 94, 0.16), rgba(0, 0, 0, 0) 55%),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .dk-cta__title,
body[data-theme="dark"] .dk-cta__title,
body.dark .dk-cta__title,
html.dark .dk-cta__title,
body.theme-dark .dk-cta__title,
html.theme-dark .dk-cta__title,
.dk-dark .dk-cta__title,
.is-dark .dk-cta__title {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .dk-cta__sub,
body[data-theme="dark"] .dk-cta__sub,
body.dark .dk-cta__sub,
html.dark .dk-cta__sub,
body.theme-dark .dk-cta__sub,
html.theme-dark .dk-cta__sub,
.dk-dark .dk-cta__sub,
.is-dark .dk-cta__sub {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

/* (opcjonalnie) poprawa secondary button w dark na CTA, jeśli Twoje globalne style tego nie robią */
html[data-theme="dark"] .dk-cta .dk-btn--secondary,
body[data-theme="dark"] .dk-cta .dk-btn--secondary,
body.dark .dk-cta .dk-btn--secondary,
html.dark .dk-cta .dk-btn--secondary,
body.theme-dark .dk-cta .dk-btn--secondary,
html.theme-dark .dk-cta .dk-btn--secondary,
.dk-dark .dk-cta .dk-btn--secondary,
.is-dark .dk-cta .dk-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.90);
}
