/* ============================================================
   /warsztaty — style page-specific (poza wspólnym css/styles.css)
   Linkowany TYLKO przez warsztaty.html: <link href="/css/warsztaty.css?v=N">
   Buduje na tokenach z styles.css. Mobile-first.
   Bez JS strona jest w 100% czytelna — reveal to dodatek (.js).
   ============================================================ */

/* ---------- REVEAL ON SCROLL (jak na /metoda) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Helpery ---------- */
.wsz-measure { max-width: 760px; }
.wsz-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ------------------------------------------------------------
   SEKCJA 1 — HERO (centrowane)
   ------------------------------------------------------------ */
.wsz-hero { text-align: center; padding: 56px 0 44px; }
@media (min-width: 900px) { .wsz-hero { padding: 88px 0 64px; } }
.wsz-hero .eyebrow { color: var(--color-brass); }
.wsz-hero__title { max-width: 820px; margin: 0 auto var(--space-4); }
.wsz-hero__title span { display: block; }
.wsz-hero .lede { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------
   SEKCJA 2 — ŚCIEŻKA (trzy karty pytań)
   ------------------------------------------------------------ */
.wsz-path {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  position: relative;
}
@media (min-width: 860px) {
  .wsz-path { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  /* subtelna linia łącząca trzy karty = „jedna ścieżka" */
  .wsz-path::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: rgba(164, 124, 58, 0.28);
    z-index: 0;
  }
}
.wsz-path__card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(26, 41, 66, 0.12);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.wsz-path__card:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 124, 58, 0.45);
  box-shadow: 0 18px 34px -24px rgba(26, 41, 66, 0.45);
}
.wsz-path__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: var(--color-brass-light);
  margin-bottom: 10px;
}
.wsz-path__tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brass);
  margin-bottom: 6px;
}
.wsz-path__q {
  font-size: clamp(20px, 2.6vw, 24px);
  color: var(--color-navy);
  margin: 0 0 12px;
}
.wsz-path__body { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.wsz-path__meta {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wsz-path__meta div { display: flex; flex-direction: column; gap: 2px; }
.wsz-path__meta dt {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.wsz-path__meta dd { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--color-text); }
.wsz-path__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  border-bottom: 1px solid rgba(164, 124, 58, 0.5);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 150ms ease, border-color 150ms ease;
}
.wsz-path__link:hover { color: var(--color-brass); border-color: var(--color-brass); }

/* ------------------------------------------------------------
   SEKCJE 3–5 — WARSZTATY (wspólne komponenty)
   ------------------------------------------------------------ */
.wsz-workshop__head { margin-bottom: 40px; }
.wsz-workshop__title { margin-bottom: 8px; }
.wsz-workshop__sub {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 20px;
}
.wsz-workshop__sub em { color: var(--color-brass); font-style: italic; }

/* Blok tekstowy w sekcji warsztatu */
.wsz-block { margin: 40px auto 0; }
.wsz-block__title { font-size: clamp(20px, 3vw, 28px); margin-bottom: 14px; }
.wsz-block p { font-size: 16px; line-height: 1.65; }
.wsz-block__punch {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.4;
  color: var(--color-text);
  padding-left: 18px;
  border-left: 2px solid var(--color-brass);
}

/* Stack metodologiczny / bloki (2×2) */
.wsz-stack {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) { .wsz-stack { grid-template-columns: 1fr 1fr; gap: 22px; } }
.wsz-stack__item {
  background: #fff;
  border: 1px solid rgba(26, 41, 66, 0.12);
  border-left: 3px solid rgba(164, 124, 58, 0.5);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.wsz-stack__item:hover {
  transform: translateY(-3px);
  border-left-color: var(--color-brass);
  box-shadow: 0 18px 34px -24px rgba(26, 41, 66, 0.45);
}
.wsz-stack__title { font-size: 18px; color: var(--color-navy); margin-bottom: 10px; }
.wsz-stack__item p { font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------
   GALERIE (Cyfrowa Mapa) — Przed / Po / Makiety
   Ukryte, dopóki nie ma zdjęć (warsztaty.js odsłania, gdy są kafle).
   ------------------------------------------------------------ */
.wsz-gallery-fig { margin: 36px auto 0; max-width: 920px; }
.wsz-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 680px) { .wsz-gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.wsz-gallery__item {
  display: block;
  padding: 0;
  border: 1px solid rgba(26, 41, 66, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream-warm);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wsz-gallery__item:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(26, 41, 66, 0.5); }
.wsz-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.wsz-gallery__cap {
  margin: 16px auto 0;
  max-width: 700px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14.5px, 2vw, 17px);
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Lightbox (powiększenie zdjęcia) */
.wsz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 26, 46, 0.92);
}
.wsz-lightbox[hidden] { display: none; }
.wsz-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.wsz-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(245, 239, 228, 0.12);
  color: var(--color-cream);
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}
.wsz-lightbox__close:hover { background: rgba(245, 239, 228, 0.22); }

/* ------------------------------------------------------------
   4 OBSZARY WARTOŚCI (Cyfrowa Mapa) — kompaktowa siatka 2×2
   ------------------------------------------------------------ */
.wsz-value {
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 620px) { .wsz-value { grid-template-columns: 1fr 1fr; gap: 16px; } }
.wsz-value__item {
  background: #fff;
  border: 1px solid rgba(26, 41, 66, 0.12);
  border-top: 3px solid rgba(164, 124, 58, 0.5);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.wsz-value__title { font-size: 16px; color: var(--color-navy); margin: 0 0 6px; }
.wsz-value__item p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--color-text-muted); }
.wsz-value__note {
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}
.wsz-value__note em { color: var(--color-brass); font-style: italic; font-weight: 500; }

/* Numerowane warstwy (Praktyczne Rzemiosło) */
.wsz-numbered {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wsz-numbered__item {
  position: relative;
  background: #fff;
  border: 1px solid rgba(26, 41, 66, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 26px 24px 70px;
}
.wsz-numbered__num {
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: var(--color-brass-light);
}
.wsz-numbered__title { font-size: 18px; color: var(--color-navy); margin-bottom: 8px; }
.wsz-numbered__item p { font-size: 15px; line-height: 1.6; margin: 0; }

/* Blok deliverables (produkt warsztatu) */
.wsz-deliv {
  margin: 36px auto 0;
  background: rgba(164, 124, 58, 0.08);
  border: 1px solid rgba(164, 124, 58, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
}
.wsz-deliv__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: 500;
  margin-bottom: 18px;
}
.wsz-deliv__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wsz-deliv__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}
.wsz-deliv__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brass);
  font-weight: 600;
}
.wsz-deliv__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.55;
  font-style: italic;
  color: var(--color-text-muted);
}

/* Co dalej — trzy drogi */
.wsz-next__intro { font-size: 16px; font-weight: 500; color: var(--color-text); margin: 0 0 14px; }
.wsz-next__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wsz-next__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.wsz-next__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brass);
  font-weight: 600;
}
.wsz-next__list strong { color: var(--color-text); font-weight: 600; }

/* Rozszerzenia (Spójna Wizja) — karty na jasnym tle */
.wsz-ext { margin-top: 28px; }
.wsz-ext__card {
  background: #fff;
  border: 1px solid rgba(26, 41, 66, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}
.wsz-ext__card:hover { transform: translateY(-3px); border-color: rgba(164, 124, 58, 0.45); }
.wsz-ext__title { font-size: 17px; color: var(--color-navy); margin-bottom: 8px; }
.wsz-ext__card p { font-size: 14px; line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------
   SEKCJA 6 — HIERARCHIA (schody, na ciemnym)
   ------------------------------------------------------------ */
.wsz-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wsz-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(245, 239, 228, 0.04);
  border: 1px solid rgba(245, 239, 228, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}
/* Schodkowy odstęp na desktopie — wizualne „schody" */
@media (min-width: 768px) {
  .wsz-steps__item:nth-child(2) { margin-left: 5%; }
  .wsz-steps__item:nth-child(3) { margin-left: 10%; }
  .wsz-steps__item:nth-child(4) { margin-left: 15%; }
}
.wsz-steps__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: var(--color-brass-light);
  flex-shrink: 0;
}
.wsz-steps__title { color: var(--color-cream); font-size: 19px; margin: 2px 0 6px; }
.wsz-steps__body p { color: rgba(245, 239, 228, 0.72); font-size: 14.5px; margin: 0; }
.wsz-link__closing {
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.5;
  color: var(--color-brass-light);
  font-style: italic;
}

/* ------------------------------------------------------------
   SEKCJA 7 — CTA + STOPKA NARRACYJNA
   ------------------------------------------------------------ */
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
/* Stopka narracyjna (coda) → wspólny styl .site-coda w css/styles.css */
