/* ==========================================================================
   JAAQOB | Audyt Strategiczny (post 11467) | style tylko dla tej podstrony
   Ładować po css/jq-www.css (wspólne komponenty podstron ofertowych z paczki WWW:
   sekcje, karty, cena, formularz, FAQ, popup referencji, tablety, wejścia data-aos).
   Zasady jak w jq-www.css: tylko klasy jq-audit-*, klasy motywu i jq-www-* wyłącznie
   w zasięgu sekcji jq-audit-* (selektor potomka), bez style="" w HTML.
   Kolory i fonty z motywu jaaqobnew: granat #222c49, tekst #222533 / #353746,
   szary #83858e, koral #ec7c6b, tło sekcji #f6f6f7, ramki rgba(224, 225, 226, .8).
   ========================================================================== */

/* ---------- Wspólne ---------- */
/* Motyw daje <main class="offer-subpage"> overflow: hidden, a jq-www.css to samo sekcji kart.
   Taki kontener wyłącza position: sticky (radar, wstęp „Kiedy warto”). clip przycina tak samo,
   ale nie tworzy kontenera przewijania, więc przyklejanie działa. */
.jq-audit-page.offer-subpage,
.jq-audit-areas.jq-www-b2b {
  overflow: clip;
}

/* Motyw poniżej 1200 px daje wszystkim img image-rendering: crisp-edges (skalowanie
   „najbliższym pikselem”), przez co logotypy, zdjęcia i ikony są poszarpane na telefonie */
@media (max-width: 1199px) {
  .jq-audit-page img,
  .jq-audit-page picture {
    image-rendering: auto;
  }
}

.jq-audit-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Wezwanie do kontaktu w treści sekcji (pytanie + przycisk) */
.jq-audit-cta-inline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 48px;
  padding: 28px 36px 28px 40px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(224, 225, 226, 0.9);
  border-left: 3px solid #ec7c6b;
  isolation: isolate;
}

.jq-audit-cta-inline::after {
  content: "";
  position: absolute;
  right: 300px;
  bottom: -18px;
  z-index: -1;
  width: 150px;
  height: 96px;
  background: url("../../img/jq-www/sygnet/Right-false4.svg") no-repeat center / contain;
  opacity: 1;
}

.jq-audit-cta-inline__text {
  margin: 0;
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #222533;
  text-wrap: pretty;
}

.jq-audit-cta-inline__btn {
  flex-shrink: 0;
  margin: 0;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .jq-audit-cta-inline {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 22px;
  }

  .jq-audit-cta-inline::after {
    right: -20px;
  }

  .jq-audit-cta-inline__text {
    font-size: 18px;
    line-height: 27px;
  }
}

/* ---------- 01 Hero: data aktualizacji, nadtytuł, wyróżnienie, fakty ---------- */
.jq-audit-hero__eyebrow {
  margin: 0 0 18px;
  font-family: "Raleway-SemiBold";
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ec7c6b;
  text-wrap: pretty;
}

/* Wyróżnienie w ramce jak „Twoja firma będzie…” na stronie WWW (.jq-www-hero__ai), tu tuż pod H1.
   Motyw ma body font-weight: 100 — bez jawnej wagi Raleway-Bold wygląda jak Regular. */
.jq-audit-hero__core {
  margin: 24px 0 0;
  font-family: "Raleway-Bold";
  font-weight: 500;
}

/* Pogrubiony tekst w jednej linii: lekko poszerzamy kolumnę tekstu w stronę sceny 3D */
@media (min-width: 1200px) {
  .jq-audit-hero .jq-www-hero__text {
    max-width: calc(100% + 40px);
  }

  .jq-audit-hero__core {
    width: max-content;
    max-width: none;
    padding-right: 16px;
    white-space: nowrap;
  }
}

/* Hero kończy się paskiem faktów, a następna sekcja ma szare tło */
.jq-audit-hero.jq-www-hero {
  padding-bottom: 72px;
}

.jq-audit-hero .jq-www-hero__desc {
  margin: 20px 0 0;
}

.jq-audit-hero .jq-www-hero__ctas {
  margin-top: 32px;
}

.jq-audit-hero .jq-www-hero__note {
  margin-top: 36px;
}

.jq-audit-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 56px 0 0;
  padding: 32px 0 0;
  list-style: none;
  border-top: 1px solid rgba(224, 225, 226, 0.9);
}

.jq-audit-facts__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 20px;
  border-left: 1px solid rgba(224, 225, 226, 0.9);
}

.jq-audit-facts__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.jq-audit-facts__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(34, 44, 73, 0.06);
}

.jq-audit-facts__icon img {
  width: 22px;
  height: 22px;
}

.jq-audit-facts__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.jq-audit-facts__text strong {
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #222533;
  font-variant-numeric: tabular-nums;
}

.jq-audit-facts__text span {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #353746;
}

@media (max-width: 1199px) {
  .jq-audit-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .jq-audit-facts__item:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 991px) {
  .jq-audit-hero.jq-www-hero {
    padding-bottom: 56px;
  }

  .jq-audit-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 36px;
    padding-top: 28px;
    column-gap: 16px;
  }

  .jq-audit-facts__item,
  .jq-audit-facts__item:first-child,
  .jq-audit-facts__item:nth-child(4) {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 575px) {
  .jq-audit-facts {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }
}

/* ---------- 02 Zaufali nam: lead w nagłówku, logo Dalmec, cytaty ---------- */
.jq-audit-proof__lead {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #353746;
  text-wrap: pretty;
}


.jq-audit-quotes {
  row-gap: 24px;
  margin-top: 48px;
}

.jq-audit-quotes__col {
  display: flex;
}

.jq-audit-quote {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 36px 40px 32px;
  background-color: #fff;
  border-top: 3px solid #ec7c6b;
}

.jq-audit-quote__mark {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.jq-audit-quote__text {
  flex-grow: 1;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.jq-audit-quote__text p {
  margin: 0;
  font-family: "Raleway-Regular";
  font-size: 15px;
  line-height: 24px;
  color: #222533;
  text-wrap: pretty;
}

.jq-audit-quote__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(224, 225, 226, 0.9);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #5f6270;
}

.jq-audit-quote__logo {
  flex-shrink: 0;
  width: auto;
  height: 26px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
}

.jq-audit-proof__all {
  margin: 36px 0 0;
  text-align: center;
}

@media (max-width: 991px) {
  .jq-audit-proof__lead {
    flex: 1 1 100%;
    white-space: normal;
  }

  .jq-audit-quotes {
    margin-top: 32px;
  }

  .jq-audit-quote {
    padding: 28px 24px 24px;
  }
}

/* ---------- 03 Co sprawdzamy: radar diagnozy + karty obszarów ---------- */
/* stretch: komórka radaru ma wysokość listy kafli, żeby sticky działało przy scrollu */
.jq-audit-areas__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: stretch;
  gap: 40px;
}

/* Radar przyklejony przy przewijaniu kart (działa dzięki overflow: clip na main i sekcji) */
.jq-audit-areas__radar {
  position: sticky;
  top: 140px;
  align-self: start;
  width: 100%;
  padding: 36px 0 24px;
}

.jq-audit-radar {
  display: block;
  width: 64%;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.jq-audit-radar__ring {
  fill: none;
  stroke: #e2e3e8;
  stroke-width: 1;
}

.jq-audit-radar__ring--outer {
  fill: #f6f6f7;
  stroke: #d3d5db;
}

.jq-audit-radar__axis {
  stroke: #d3d5db;
  stroke-width: 1;
  stroke-dasharray: 3 4;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.jq-audit-radar__sweep {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.jq-audit-radar__sweep line {
  stroke: #ec7c6b;
  stroke-width: 1.5;
  stroke-opacity: 0.55;
}

.jq-audit-radar__area {
  fill: url(#jq-audit-radar-fill);
  stroke: #ec7c6b;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s 0.3s cubic-bezier(0.45, 0, 0.2, 1), fill-opacity 0.8s 1.2s ease;
}

.jq-audit-radar__dot {
  fill: #fff;
  stroke: #ec7c6b;
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.3s ease, scale 0.3s ease, opacity 0.4s ease;
}

.jq-audit-radar__core circle {
  fill: #222c49;
}

.jq-audit-radar__core text {
  text-anchor: middle;
  fill: #fff;
}

.jq-audit-radar__core-num {
  font-family: "Raleway-Bold";
  font-size: 22px;
}

.jq-audit-radar__core-txt {
  font-family: "Raleway-SemiBold";
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Wejście: obrys rysuje się dookoła, wypełnienie i punkty pojawiają się po nim */
.jq-www-reveal .jq-audit-areas__radar:not(.jq-www-in) .jq-audit-radar__area {
  stroke-dashoffset: 1;
  fill-opacity: 0;
}

.jq-www-reveal .jq-audit-areas__radar:not(.jq-www-in) .jq-audit-radar__dot {
  opacity: 0;
}

.jq-audit-areas__radar.jq-www-in .jq-audit-radar__sweep {
  opacity: 1;
  animation: jq-audit-sweep 6s 1.6s linear infinite;
}

.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot {
  animation: jq-audit-ping 6s 1.6s ease-out infinite;
}

/* Kolejność przejścia skanera (zgodnie z ruchem wskazówek, start w prawo) */
.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot[data-axis="2"] { animation-delay: 2.1s; }
.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot[data-axis="5"] { animation-delay: 3.1s; }
.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot[data-axis="3"] { animation-delay: 4.1s; }
.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot[data-axis="0"] { animation-delay: 5.1s; }
.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot[data-axis="4"] { animation-delay: 6.1s; }
.jq-audit-areas__radar.jq-www-in .jq-audit-radar__dot[data-axis="1"] { animation-delay: 7.1s; }

@keyframes jq-audit-sweep {
  to { rotate: 360deg; }
}

@keyframes jq-audit-ping {
  0% { scale: 1.8; fill: #ec7c6b; }
  12% { scale: 1; fill: #fff; }
  100% { scale: 1; fill: #fff; }
}

/* Etykiety obszarów: pastylki z ikoną wokół radaru */
.jq-audit-radar__chip {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(224, 225, 226, 0.9);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(34, 37, 51, 0.07);
  font-family: "Raleway-SemiBold";
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
  color: #222533;
  translate: -50% -50%;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

/* pozycje względem kontenera: SVG zajmuje środkowe 64% szerokości (viewBox 300 x 330),
   wierzchołek u góry i u dołu, po dwa po bokach; boczne pastylki zaczynają się przy wierzchołku */
.jq-audit-radar__chip--4 { left: 50%; top: calc(36px + 2.5%); }
.jq-audit-radar__chip--5 { left: 50%; top: calc(100% - 24px - 2.5%); }
.jq-audit-radar__chip--1,
.jq-audit-radar__chip--2 { left: calc(18% + 64% * 0.875 + 6px); translate: 0 -50%; }
.jq-audit-radar__chip--3,
.jq-audit-radar__chip--0 { left: calc(18% + 64% * 0.125 - 6px); translate: -100% -50%; }
.jq-audit-radar__chip--1,
.jq-audit-radar__chip--0 { top: calc(36px + (100% - 60px) * 0.303); }
.jq-audit-radar__chip--2,
.jq-audit-radar__chip--3 { top: calc(36px + (100% - 60px) * 0.697); }

/* Podświetlenie dla aktywnej karty (js/jq-audit.js) */
.jq-audit-areas__radar.has-active .jq-audit-radar__chip {
  opacity: 0.55;
}

.jq-audit-areas__radar .jq-audit-radar__chip.is-active {
  opacity: 1;
  border-color: #ec7c6b;
  background-color: #ec7c6b;
  color: #fff;
}

.jq-audit-areas__radar .jq-audit-radar__axis.is-active {
  stroke: #ec7c6b;
  stroke-width: 2;
  stroke-dasharray: none;
}

.jq-audit-areas__radar .jq-audit-radar__dot.is-active {
  fill: #ec7c6b;
  scale: 1.5;
}

/* Poziome kafle pod sobą: ikona | (obszar + tytuł), pod nimi opisy na szerokość tytułu */
.jq-audit-areas__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: jq-audit-area;
  min-width: 0;
}

.jq-audit-areas__card {
  counter-increment: jq-audit-area;
}

.jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon titles"
    "body body";
  column-gap: 20px;
  row-gap: 14px;
  align-items: start;
  min-height: 0;
  height: auto;
  padding: 24px 28px 24px 24px;
}

.jq-audit-areas__icon {
  grid-area: icon;
}

.jq-audit-areas__titles {
  grid-area: titles;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding-top: 4px;
}

.jq-audit-areas__idx {
  margin: 0;
  font-family: "Raleway-SemiBold";
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
  color: #b8503f;
  transition: color 0.45s ease-in-out;
}

.jq-audit-areas__idx::after {
  content: " " counter(jq-audit-area, decimal-leading-zero);
}

.jq-audit-areas .jq-audit-areas__card .c-icon-cards__item-title {
  margin: 0;
}

.jq-audit-areas__dl {
  grid-area: body;
  margin: 0;
  padding: 0;
}

.jq-audit-areas__dl dt {
  margin: 0 0 6px;
  font-family: "Raleway-SemiBold";
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5f6270;
  transition: color 0.45s ease-in-out;
}

.jq-audit-areas__dl dd {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #353746;
  transition: color 0.45s ease-in-out;
}

.jq-audit-areas__dl dd:last-child {
  margin-bottom: 0;
  font-family: "Raleway-SemiBold";
  color: #222533;
}

.jq-audit-areas .jq-audit-areas__card .jq-www-card__mark {
  width: 120px;
  height: 120px;
}

/* Podświetlenie przy scrollu (.is-active) jak hover karty reveal */
.jq-audit-areas__card.is-active {
  border-color: #222533;
}

.jq-audit-areas__card.is-active::before {
  opacity: 1;
}

.jq-audit-areas__card.is-active .jq-www-card__icon {
  background-color: rgba(255, 255, 255, 0.12);
}

.jq-audit-areas__card.is-active .jq-www-card__icon img {
  filter: brightness(0) invert(1);
}

.jq-audit-areas__card.is-active .c-icon-cards__item-title {
  color: #fff;
}

.jq-audit-areas__card.is-active .jq-www-card__mark {
  opacity: 0.08;
  filter: brightness(0) invert(1);
}

.jq-audit-areas__card:hover .jq-audit-areas__dl dt,
.jq-audit-areas__card:focus-within .jq-audit-areas__dl dt,
.jq-audit-areas__card.is-active .jq-audit-areas__dl dt,
.jq-audit-areas__card:hover .jq-audit-areas__idx,
.jq-audit-areas__card:focus-within .jq-audit-areas__idx,
.jq-audit-areas__card.is-active .jq-audit-areas__idx {
  color: rgba(255, 255, 255, 0.72);
}

.jq-audit-areas__card:hover .jq-audit-areas__dl dd,
.jq-audit-areas__card:focus-within .jq-audit-areas__dl dd,
.jq-audit-areas__card.is-active .jq-audit-areas__dl dd {
  color: rgba(255, 255, 255, 0.82);
}

.jq-audit-areas__card:hover .jq-audit-areas__dl dd:last-child,
.jq-audit-areas__card:focus-within .jq-audit-areas__dl dd:last-child,
.jq-audit-areas__card.is-active .jq-audit-areas__dl dd:last-child {
  color: #fff;
}

.jq-audit-areas .jq-www-after {
  margin-top: 48px;
}

@media (max-width: 991px) {
  .jq-audit-areas__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .jq-audit-areas__radar {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 24px 0 28px;
  }

  .jq-audit-radar__chip {
    padding: 4px 11px;
    font-size: 12px;
  }

  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal {
    column-gap: 16px;
    row-gap: 12px;
    padding: 20px 20px 20px 18px;
  }

  .jq-audit-areas .jq-www-after {
    margin-top: 32px;
  }

  /* Mobile: bez ciemnego hover/active na kaflach (radar z pastylkami zostaje) */
  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal:hover,
  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal:focus-visible,
  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal:focus-within,
  .jq-audit-areas .jq-audit-areas__card.is-active {
    border-color: rgba(224, 225, 226, 0.8);
  }

  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal:hover::before,
  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal:focus-visible::before,
  .jq-audit-areas .jq-audit-areas__card.jq-www-card--reveal:focus-within::before,
  .jq-audit-areas .jq-audit-areas__card.is-active::before {
    opacity: 0;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-www-card__icon,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-www-card__icon,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-www-card__icon {
    background-color: transparent;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-www-card__icon img,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-www-card__icon img,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-www-card__icon img {
    filter: none;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .c-icon-cards__item-title,
  .jq-audit-areas .jq-audit-areas__card:focus-within .c-icon-cards__item-title,
  .jq-audit-areas .jq-audit-areas__card.is-active .c-icon-cards__item-title {
    color: #222533;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-www-card__mark,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-www-card__mark,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-www-card__mark {
    opacity: 0.07;
    filter: brightness(0) saturate(100%) invert(14%) sepia(24%) saturate(1186%) hue-rotate(191deg) brightness(93%) contrast(92%);
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-audit-areas__dl dt,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-audit-areas__dl dt,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-audit-areas__dl dt {
    color: #5f6270;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-audit-areas__idx,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-audit-areas__idx,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-audit-areas__idx {
    color: #b8503f;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-audit-areas__dl dd,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-audit-areas__dl dd,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-audit-areas__dl dd {
    color: #353746;
  }

  .jq-audit-areas .jq-audit-areas__card:hover .jq-audit-areas__dl dd:last-child,
  .jq-audit-areas .jq-audit-areas__card:focus-within .jq-audit-areas__dl dd:last-child,
  .jq-audit-areas .jq-audit-areas__card.is-active .jq-audit-areas__dl dd:last-child {
    color: #222533;
  }
}

/* Wąski telefon: górna i dolna pastylka bliżej wierzchołków */
@media (max-width: 575px) {
  .jq-audit-radar__chip {
    padding: 4px 10px;
  }

  .jq-audit-radar__chip--4 { top: calc(30px + 1%); }
  .jq-audit-radar__chip--5 { top: calc(100% - 18px - 1%); }
}

/* ---------- 04 Co otrzymujesz: tablet z czytnikiem raportu + kafle (komponenty sekcji AI i tabletu z WWW) ---------- */
/* Sekcja AI z jq-www.css ma overflow: hidden, które wyłącza przyklejony tablet */
.jq-audit-results.jq-www-ai {
  overflow: clip;
}

/* align stretch: lewa kolumna ma wysokość listy kafli, żeby sticky miało po czym jeździć */
.jq-audit-results__layout {
  align-items: stretch;
  row-gap: 32px;
}

.jq-audit-results__device {
  position: sticky;
  top: 120px;
  padding-right: 12px;
}

/* Tablet w pionie (iPad 3:4): ten sam komponent .jq-www-device, inne proporcje ekranu.
   Jasna aluminiowa obudowa (bez .jq-www-device--dark) — na ciemnej sekcji ciemny
   tablet znikał i słabo brał światło. Głębszy metal + szkło, żeby nie wyglądał
   jak papierowy kafelek; bez czarnej kreski na dole ekranu. */
.jq-audit-device--portrait {
  --jq-dev-rim: linear-gradient(
    152deg,
    #ffffff 0%,
    #b8bcc4 10%,
    #f2f3f5 22%,
    #9a9ea8 40%,
    #e8eaee 55%,
    #8a8e98 72%,
    #d5d8de 88%,
    #aeb2ba 100%
  );
  --jq-dev-rim-line: rgba(8, 10, 16, 0.45);
  --jq-dev-glass: linear-gradient(180deg, #f7f8fa 0%, #e9ebf0 55%, #e2e4ea 100%);
  --jq-dev-glass-line: rgba(8, 10, 16, 0.12);
  --jq-dev-btn: linear-gradient(180deg, #e8eaee 0%, #a8acb4 55%, #7e828c 100%);
  --jq-dev-lcd: #e9ebf0;
  max-width: 420px;
  margin: 0 auto;
  /* Lekki „tilt” + izolacja blendów od granatu sekcji */
  isolation: isolate;
  transform: perspective(1200px) rotateY(-1.6deg) rotateX(1.8deg);
  transform-style: preserve-3d;
}

.jq-audit-device--portrait .jq-www-device__screen {
  aspect-ratio: 0.75;
  /* Ten sam kolor co szkło — bez ciemnego styku ekran/ramka (wcześniej #000 lub #e7e9ee) */
  background: var(--jq-dev-lcd);
  box-shadow: none;
  /* Mask łagodzi ciemny antyaliasing border-radius w Chromium */
  -webkit-mask-image: radial-gradient(#000, #000);
  mask-image: radial-gradient(#000, #000);
}

.jq-audit-device--portrait .jq-www-device__cam {
  left: 50%;
  top: 1.05cqw;
  width: 0.78cqw;
  height: 0.78cqw;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 0.6px rgba(0, 0, 0, 0.5),
    0 0.2cqw 0.4cqw rgba(0, 0, 0, 0.28),
    inset 0 0.1cqw 0.18cqw rgba(255, 255, 255, 0.3);
}

.jq-audit-device--portrait .jq-www-device__shell {
  padding: 0.85cqw;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, transparent 22%),
    var(--jq-dev-rim);
  box-shadow:
    0 0 0 0.8px rgba(8, 10, 16, 0.48),
    inset 0 1.4px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.6px 0 rgba(24, 26, 34, 0.32),
    inset 1.4px 0 0 rgba(255, 255, 255, 0.4),
    inset -1.4px 0 0 rgba(24, 26, 34, 0.22),
    0 2px 5px rgba(8, 10, 16, 0.22),
    0 16px 32px -12px rgba(8, 10, 16, 0.5),
    0 42px 78px -26px rgba(0, 0, 0, 0.62),
    0 70px 110px -42px rgba(0, 0, 0, 0.42);
}

/* Refleks aluminium — bez mix-blend (na granacie dawał ciemne krawędzie) */
.jq-audit-device--portrait .jq-www-device__shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.15) 1cqw, rgba(255, 255, 255, 0) 2.4cqw),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, rgba(255, 255, 255, 0.25) 100%);
  opacity: 0.9;
}

/* Dolna fazowana krawędź (grubość blachy) */
.jq-audit-device--portrait .jq-www-device__shell::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -0.65cqw;
  height: 0.85cqw;
  border-radius: 0 0 5cqw 5cqw;
  background: linear-gradient(180deg, rgba(60, 64, 76, 0.6), rgba(16, 18, 26, 0.75));
  filter: blur(0.25cqw);
  pointer-events: none;
  z-index: -1;
}

.jq-audit-device--portrait .jq-www-device__glass {
  padding: 2.6cqw;
  background: var(--jq-dev-glass);
  box-shadow:
    inset 0 0 0 0.55px var(--jq-dev-glass-line),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 1.2px 0 0 rgba(255, 255, 255, 0.4),
    inset -1.2px 0 0 rgba(20, 22, 30, 0.07);
}

/* Odblask na szkle — tylko nad ekranem, bez blendu z tłem sekcji */
.jq-audit-device--portrait .jq-www-device__glare {
  z-index: 5;
  border-radius: inherit;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 18%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(255, 255, 255, 0.06) 88%,
      rgba(255, 255, 255, 0) 100%
    );
  opacity: 0.85;
  pointer-events: none;
}


/* Czytnik PDF: pasek, strona, miniatury */
.jq-audit-reader {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  background: #e7e9ee;
  font-family: "Raleway-Regular", -apple-system, "Segoe UI", sans-serif;
}

.jq-audit-reader__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6cqw 2.6cqw;
  border-bottom: 1px solid #d9dce3;
  background: #fff;
  font-size: 2.2cqw;
  color: #222533;
}

.jq-audit-reader__file {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  font-family: "Raleway-SemiBold";
}

.jq-audit-reader__file i {
  padding: 0.4cqw 0.9cqw;
  border-radius: 0.6cqw;
  background: #ec7c6b;
  font-family: "Raleway-Bold";
  font-style: normal;
  font-size: 1.6cqw;
  letter-spacing: 0.04em;
  color: #fff;
}

.jq-audit-reader__count {
  font-variant-numeric: tabular-nums;
  color: #5f6270;
}

.jq-audit-reader__count b {
  font-family: "Raleway-Bold";
  font-weight: 400;
  color: #222533;
}

.jq-audit-reader__stage {
  position: relative;
  margin: 3cqw 4cqw 2cqw;
  font-size: 2.15cqw;
  perspective: 160cqw;
}

.jq-audit-reader__thumbs {
  display: flex;
  justify-content: center;
  gap: 1.6cqw;
  padding: 1.6cqw 3cqw 2.6cqw;
}

.jq-audit-reader__thumb {
  display: flex;
  flex-direction: column;
  gap: 0.7cqw;
  width: 7.4cqw;
  aspect-ratio: 0.72;
  padding: 1.1cqw 0.9cqw;
  border-top: 0.45cqw solid #222c49;
  border-radius: 0.5cqw;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 0.4cqw 1cqw rgba(34, 37, 51, 0.12);
  opacity: 0.7;
  transition: opacity 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease;
}

.jq-audit-reader__thumb i {
  height: 0.6cqw;
  border-radius: 0.3cqw;
  background: #d9dce3;
}

.jq-audit-reader__thumb i:first-child {
  width: 70%;
  background: #ec7c6b;
}

.jq-audit-reader__thumb--call {
  border-top-color: #2a3253;
  background: #222c49;
}

.jq-audit-reader__thumb--call i {
  background: #3a4468;
}

.jq-audit-reader__thumb.is-active {
  opacity: 1;
  translate: 0 -0.6cqw;
  box-shadow: 0 0 0 0.35cqw #ec7c6b, 0 0.8cqw 1.6cqw rgba(34, 37, 51, 0.18);
}

/* Kartka dokumentu: wymiary w em, ten sam komponent w czytniku i w kroku 3 przebiegu */
.jq-audit-doc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.7em 1.8em 1.1em;
  border-top: 0.32em solid #222c49;
  border-radius: 0.35em;
  background: #fff;
  box-shadow: 0 0.6em 1.6em rgba(34, 37, 51, 0.16);
  color: #222533;
  font-family: "Raleway-Regular", sans-serif;
  opacity: 0;
  transform: rotateY(-14deg) translateX(6%);
  transform-origin: 0 50%;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.jq-audit-doc.is-active {
  opacity: 1;
  transform: none;
}

/* kartka, która znika, odchodzi w lewo jak przewracana strona */
.jq-audit-doc.is-leaving {
  opacity: 0;
  transform: rotateY(32deg) translateX(-4%);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.55, 0, 0.45, 1);
}

/* Czytnik: obrót 3D tylko w trakcie przewracania. Kartki stale obrócone
   w spoczynku trzymały warstwy GPU nad aktywną kartką i jej tekst tracił
   ostre wygładzanie. */
.jq-audit-reader .jq-audit-doc {
  visibility: hidden;
  transform: none;
  transition: none;
}

.jq-audit-reader .jq-audit-doc.is-active {
  visibility: visible;
  animation: jq-audit-page-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.jq-audit-reader .jq-audit-doc.is-leaving {
  visibility: visible;
  animation: jq-audit-page-out 0.6s cubic-bezier(0.55, 0, 0.45, 1);
}

@keyframes jq-audit-page-in {
  from { opacity: 0; transform: rotateY(-14deg) translateX(6%); }
}

@keyframes jq-audit-page-out {
  from { opacity: 1; transform: none; }
  80% { opacity: 0; }
  to { opacity: 0; transform: rotateY(32deg) translateX(-4%); }
}

.jq-audit-doc__head {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-bottom: 1.3em;
}

.jq-audit-doc__eyebrow {
  font-family: "Raleway-SemiBold";
  font-size: 0.72em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ec7c6b;
}

.jq-audit-doc__title {
  font-family: "Raleway-Bold";
  font-size: 1.5em;
  line-height: 1.2;
  color: #222c49;
}

.jq-audit-doc__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.jq-audit-doc__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8em;
  padding-top: 0.6em;
  border-top: 1px solid #eceef1;
  font-size: 0.7em;
  letter-spacing: 0.12em;
  color: #9a9ca5;
}

.jq-audit-doc__foot b {
  font-family: "Raleway-ExtraBold";
  font-weight: 400;
  color: #222c49;
}

.jq-audit-doc__line {
  display: block;
  height: 0.5em;
  margin: 0.55em 0;
  border-radius: 0.3em;
  background: #e8e9ed;
  transform-origin: left center;
}

.jq-audit-doc__line--60 { width: 60%; }
.jq-audit-doc__line--70 { width: 70%; }
.jq-audit-doc__line--80 { width: 80%; }
.jq-audit-doc__line--90 { width: 90%; }

.jq-audit-doc__label {
  display: block;
  margin-bottom: 0.4em;
  font-family: "Raleway-Bold";
  font-size: 0.82em;
  color: #222c49;
}

.jq-audit-doc__label--ok::before,
.jq-audit-doc__label--warn::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-right: 0.5em;
  border-radius: 50%;
  background: #222c49;
  vertical-align: 0.05em;
}

.jq-audit-doc__label--warn::before {
  background: #ec7c6b;
}

/* Raport: radar + dwie kolumny + rekomendacje */
.jq-audit-doc__body--report {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 1.6em;
}

.jq-audit-doc__radar {
  display: block;
  width: 100%;
  height: auto;
}

.jq-audit-doc__radar-grid {
  fill: none;
  stroke: #e2e3e8;
  stroke-width: 1;
}

.jq-audit-doc__radar-area {
  fill: rgba(236, 124, 107, 0.22);
  stroke: #ec7c6b;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.jq-audit-doc__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6em 1.4em;
}

.jq-audit-doc__reco {
  grid-column: 1 / -1;
  padding-top: 0.8em;
  border-top: 1px solid #eceef1;
}

.jq-audit-doc__reco-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.jq-audit-doc__reco-row b {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #222c49;
  color: #fff;
  font-family: "Raleway-Bold";
  font-size: 0.72em;
  font-weight: 400;
}

.jq-audit-doc__reco-row .jq-audit-doc__line {
  flex: 1 1 auto;
}

/* Działania o szybkim efekcie: lista odhaczana */
.jq-audit-doc--quick .jq-audit-doc__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6em;
}

.jq-audit-doc__check {
  display: grid;
  grid-template-columns: 1.6em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9em;
  padding: 0.85em 1em;
  border: 1px solid #eceef1;
  border-radius: 0.5em;
  background: #fafafb;
}

.jq-audit-doc__check i {
  position: relative;
  width: 1.6em;
  height: 1.6em;
  border: 2px solid #d5d7dd;
  border-radius: 0.4em;
}

.jq-audit-doc__check i::after {
  content: "";
  position: absolute;
  left: 0.42em;
  top: 0.12em;
  width: 0.45em;
  height: 0.8em;
  border: solid #fff;
  border-width: 0 0.16em 0.16em 0;
  rotate: 45deg;
  opacity: 0;
}

.jq-audit-doc__check .jq-audit-doc__line {
  margin: 0;
}

.jq-audit-doc__check em {
  padding: 0.3em 0.8em;
  border-radius: 1em;
  background: rgba(34, 44, 73, 0.06);
  font-style: normal;
  font-size: 0.72em;
  letter-spacing: 0.04em;
  color: #222c49;
  white-space: nowrap;
}

/* Mapa priorytetowych działań: tory i paski */
.jq-audit-doc__body--map {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9em;
}

.jq-audit-doc__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-left: 7.5em;
}

.jq-audit-doc__steps b {
  font-family: "Raleway-Bold";
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #9a9ca5;
}

.jq-audit-doc__steps b::before {
  content: "Krok ";
}

.jq-audit-doc__lane {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  align-items: center;
}

.jq-audit-doc__lane em {
  font-family: "Raleway-SemiBold";
  font-style: normal;
  font-size: 0.82em;
  color: #222c49;
}

.jq-audit-doc__track {
  position: relative;
  height: 2.2em;
  border-radius: 0.4em;
  background: repeating-linear-gradient(90deg, #f3f4f6 0 calc(25% - 1px), #e6e7eb calc(25% - 1px) 25%);
}

.jq-audit-doc__bar {
  position: absolute;
  top: 0.35em;
  bottom: 0.35em;
  border-radius: 0.3em;
  background: #222c49;
  transform-origin: left center;
}

.jq-audit-doc__bar--a { left: 1%; width: 30%; background: #ec7c6b; }
.jq-audit-doc__bar--b { left: 22%; width: 26%; }
.jq-audit-doc__bar--c { left: 44%; width: 24%; background: #ec7c6b; }
.jq-audit-doc__bar--d { left: 56%; width: 22%; background: #4a5371; }
.jq-audit-doc__bar--e { left: 70%; width: 28%; background: #ec7c6b; }
.jq-audit-doc__bar--f { left: 76%; width: 22%; background: #4a5371; }

/* Materiały z analiz: teczki obszarów */
.jq-audit-doc__body--files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 0.9em;
}

.jq-audit-doc__file {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 1em 1em 0.8em;
  border: 1px solid #eceef1;
  border-radius: 0.5em;
  background: #fafafb;
}

.jq-audit-doc__file::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1em;
  width: 2.6em;
  height: 0.3em;
  border-radius: 0 0 0.3em 0.3em;
  background: #ec7c6b;
}

.jq-audit-doc__file b {
  font-family: "Raleway-Bold";
  font-size: 0.85em;
  font-weight: 400;
  color: #222c49;
}

.jq-audit-doc__file .jq-audit-doc__line {
  margin: 0.2em 0 0;
}

.jq-audit-doc__spark {
  display: block;
  height: 2em;
  margin-bottom: 0.3em;
  background:
    linear-gradient(0deg, #222c49 0 0) 0 100% / 14% 40% no-repeat,
    linear-gradient(0deg, #222c49 0 0) 28% 100% / 14% 70% no-repeat,
    linear-gradient(0deg, #ec7c6b 0 0) 57% 100% / 14% 55% no-repeat,
    linear-gradient(0deg, #222c49 0 0) 86% 100% / 14% 90% no-repeat;
}

.jq-audit-doc__spark--2 {
  background:
    radial-gradient(circle at 50% 55%, transparent 0 38%, #fafafb 39% 100%),
    conic-gradient(#ec7c6b 0 38%, #222c49 38% 72%, #d8dae0 72% 100%);
  width: 2em;
  border-radius: 50%;
}

.jq-audit-doc__spark--3 {
  background:
    linear-gradient(90deg, #ec7c6b 0 0) 0 20% / 80% 0.3em no-repeat,
    linear-gradient(90deg, #222c49 0 0) 0 55% / 60% 0.3em no-repeat,
    linear-gradient(90deg, #4a5371 0 0) 0 90% / 40% 0.3em no-repeat;
}

/* Omówienie diagnozy: rozmowa wideo z udostępnionym ekranem */
.jq-audit-doc--call {
  padding: 0;
  border-top: 0;
  background: #1f2023;
}

.jq-audit-doc__call {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr) 9.5em;
  gap: 0.7em;
  min-height: 0;
  padding: 0.9em;
}

.jq-audit-doc__share {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75em;
  padding: 1.2em 1.4em;
  border-radius: 0.5em;
  background: #fff;
}

.jq-audit-doc__share-title {
  margin-bottom: 0.2em;
  font-family: "Raleway-Bold";
  font-size: 1.15em;
  color: #222c49;
}

.jq-audit-doc__share .jq-audit-doc__lane {
  grid-template-columns: 6.5em minmax(0, 1fr);
}

.jq-audit-doc__pointer {
  position: absolute;
  left: 30%;
  top: 40%;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: rgba(236, 124, 107, 0.35);
  box-shadow: 0 0 0 0.25em rgba(236, 124, 107, 0.18);
}

.jq-audit-doc__tiles {
  display: grid;
  grid-template-rows: 1.4fr 1fr 1fr;
  gap: 0.6em;
}

.jq-audit-doc__tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.5em;
  background: #2a3253;
}

.jq-audit-doc__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  background: #3a4468;
}

.jq-audit-doc__tile b {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: #4a5371;
  color: #fff;
  font-family: "Raleway-SemiBold";
  font-size: 0.8em;
  font-weight: 400;
}

.jq-audit-doc__tile:nth-child(3) b {
  background: #ec7c6b;
}

.jq-audit-doc__wave {
  position: absolute;
  inset: 0;
  border: 0.18em solid #ec7c6b;
  border-radius: inherit;
  animation: jq-audit-speak 1.6s ease-in-out infinite;
}

.jq-audit-doc__controls {
  display: flex;
  justify-content: center;
  gap: 0.8em;
  padding: 0 0 0.9em;
}

.jq-audit-doc__controls i,
.jq-audit-meet__controls i {
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: #2a3253;
}

.jq-audit-doc__controls .is-end,
.jq-audit-meet__controls .is-end {
  width: 3.4em;
  border-radius: 1.2em;
  background: #e4634c;
}

.jq-audit-meet__controls .is-on {
  background: #ec7c6b;
}

@keyframes jq-audit-speak {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* Animacje kartek po aktywacji (klasa is-active z js/jq-audit.js) */
@keyframes jq-audit-grow-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes jq-audit-pop {
  from { opacity: 0; scale: 0.6; }
  to { opacity: 1; scale: 1; }
}

@keyframes jq-audit-rise {
  from { opacity: 0; translate: 0 0.8em; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes jq-audit-check {
  to { background: #ec7c6b; border-color: #ec7c6b; }
}

@keyframes jq-audit-check-mark {
  to { opacity: 1; }
}

.jq-audit-doc.is-active .jq-audit-doc__line {
  animation: jq-audit-grow-x 0.7s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-doc.is-active .jq-audit-doc__radar-area {
  transform-box: fill-box;
  transform-origin: center;
  animation: jq-audit-pop 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-doc.is-active .jq-audit-doc__check {
  animation: jq-audit-rise 0.5s ease-out both;
}

.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(2) { animation-delay: 0.15s; }
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(3) { animation-delay: 0.3s; }
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(4) { animation-delay: 0.45s; }

.jq-audit-doc.is-active .jq-audit-doc__check i {
  animation: jq-audit-check 0.25s ease-out both;
}

.jq-audit-doc.is-active .jq-audit-doc__check i::after {
  animation: jq-audit-check-mark 0.25s ease-out both;
}

.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(1) i,
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(1) i::after { animation-delay: 0.9s; }
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(2) i,
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(2) i::after { animation-delay: 1.5s; }
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(3) i,
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(3) i::after { animation-delay: 2.1s; }
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(4) i,
.jq-audit-doc.is-active .jq-audit-doc__check:nth-child(4) i::after { animation-delay: 2.7s; }

.jq-audit-doc.is-active .jq-audit-doc__bar {
  animation: jq-audit-grow-x 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-doc.is-active .jq-audit-doc__bar--a { animation-delay: 0.3s; }
.jq-audit-doc.is-active .jq-audit-doc__bar--b { animation-delay: 0.6s; }
.jq-audit-doc.is-active .jq-audit-doc__bar--c { animation-delay: 0.9s; }
.jq-audit-doc.is-active .jq-audit-doc__bar--d { animation-delay: 1.3s; }
.jq-audit-doc.is-active .jq-audit-doc__bar--e { animation-delay: 1.6s; }
.jq-audit-doc.is-active .jq-audit-doc__bar--f { animation-delay: 1.9s; }

.jq-audit-doc.is-active .jq-audit-doc.is-active .jq-audit-doc__file {
  animation: jq-audit-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-doc.is-active .jq-audit-doc__file:nth-child(2) { animation-delay: 0.12s; }
.jq-audit-doc.is-active .jq-audit-doc__file:nth-child(3) { animation-delay: 0.24s; }
.jq-audit-doc.is-active .jq-audit-doc__file:nth-child(4) { animation-delay: 0.36s; }
.jq-audit-doc.is-active .jq-audit-doc__file:nth-child(5) { animation-delay: 0.48s; }
.jq-audit-doc.is-active .jq-audit-doc__file:nth-child(6) { animation-delay: 0.6s; }

.jq-audit-doc.is-active .jq-audit-doc__pointer {
  animation: jq-audit-point 4.5s 1s ease-in-out infinite both;
}

@keyframes jq-audit-point {
  0% { left: 22%; top: 38%; }
  30% { left: 52%; top: 58%; }
  60% { left: 74%; top: 78%; }
  100% { left: 22%; top: 38%; }
}

/* Pionowe kartki A4 w czytniku: układy treści */
.jq-audit-reader .jq-audit-doc__body--report {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "radar scores"
    "cols cols"
    "reco reco";
  align-items: center;
  gap: 1.1em 1.4em;
}

.jq-audit-reader .jq-audit-doc__radar { grid-area: radar; }
.jq-audit-reader .jq-audit-doc__scores { grid-area: scores; }
.jq-audit-reader .jq-audit-doc__cols { grid-area: cols; }
.jq-audit-reader .jq-audit-doc__reco { grid-area: reco; }

.jq-audit-doc__scores {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.jq-audit-doc__score {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.jq-audit-doc__score b {
  font-family: "Raleway-SemiBold";
  font-weight: 400;
  font-size: 0.78em;
  color: #222c49;
}

.jq-audit-doc__meter {
  position: relative;
  display: block;
  height: 0.42em;
  overflow: hidden;
  border-radius: 0.21em;
  background: #eceef2;
}

.jq-audit-doc__meter::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--jq-audit-v, 70%);
  border-radius: inherit;
  background: #222c49;
  transform-origin: left center;
}

.jq-audit-doc__meter--warn::after { background: #ec7c6b; }
.jq-audit-doc__meter--58 { --jq-audit-v: 58%; }
.jq-audit-doc__meter--62 { --jq-audit-v: 62%; }
.jq-audit-doc__meter--68 { --jq-audit-v: 68%; }
.jq-audit-doc__meter--70 { --jq-audit-v: 70%; }
.jq-audit-doc__meter--82 { --jq-audit-v: 82%; }
.jq-audit-doc__meter--86 { --jq-audit-v: 86%; }

.jq-audit-doc.is-active .jq-audit-doc__meter::after {
  animation: jq-audit-grow-x 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-doc.is-active .jq-audit-doc__score:nth-child(2) .jq-audit-doc__meter::after { animation-delay: 0.1s; }
.jq-audit-doc.is-active .jq-audit-doc__score:nth-child(3) .jq-audit-doc__meter::after { animation-delay: 0.2s; }
.jq-audit-doc.is-active .jq-audit-doc__score:nth-child(4) .jq-audit-doc__meter::after { animation-delay: 0.3s; }
.jq-audit-doc.is-active .jq-audit-doc__score:nth-child(5) .jq-audit-doc__meter::after { animation-delay: 0.4s; }
.jq-audit-doc.is-active .jq-audit-doc__score:nth-child(6) .jq-audit-doc__meter::after { animation-delay: 0.5s; }

.jq-audit-doc__intro {
  display: block;
  margin-bottom: 0.4em;
}

.jq-audit-reader .jq-audit-doc--quick .jq-audit-doc__body {
  justify-content: flex-start;
  gap: 0.55em;
}

.jq-audit-doc__check-text {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  min-width: 0;
}

.jq-audit-doc__check-text .jq-audit-doc__line {
  margin: 0;
}

.jq-audit-reader .jq-audit-doc__body--map {
  justify-content: flex-start;
  gap: 0.75em;
}

.jq-audit-reader .jq-audit-doc__steps {
  margin-left: 6.4em;
}

.jq-audit-reader .jq-audit-doc__lane {
  grid-template-columns: 6.4em minmax(0, 1fr);
}

.jq-audit-doc__legend {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.3em;
}

.jq-audit-doc__legend i {
  flex-shrink: 0;
  width: 0.9em;
  height: 0.9em;
  border-radius: 0.2em;
  background: #ec7c6b;
}

.jq-audit-doc__legend i.is-navy {
  margin-left: 0.8em;
  background: #222c49;
}

.jq-audit-doc__legend .jq-audit-doc__line {
  flex: 1 1 auto;
  margin: 0;
}

.jq-audit-reader .jq-audit-doc__body--files {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

/* Omówienie diagnozy w pionie: ekran prezentacji u góry, uczestnicy pod nim */
.jq-audit-reader .jq-audit-doc__call {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 7.4em;
}

.jq-audit-reader .jq-audit-doc__tiles {
  grid-template-rows: none;
  grid-template-columns: 1.3fr 1fr 1fr;
}

.jq-audit-reader .jq-audit-doc__share .jq-audit-doc__lane {
  grid-template-columns: 6em minmax(0, 1fr);
}

/* Kafle obok tabletu */
.jq-audit-results .jq-audit-results__list {
  margin-top: 0;
}

.jq-audit-results__tag {
  display: block;
  margin: 20px 24px 0;
  font-family: "Raleway-SemiBold";
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f19a8c;
}

.jq-audit-results .jq-audit-results__tag + .jq-www-ai__title {
  margin-top: 6px;
}

.jq-audit-results__item[data-jq-audit-doc] {
  cursor: pointer;
  outline: none;
}

.jq-audit-results__item[data-jq-audit-doc]:focus-visible::before {
  outline: 2px solid #ec7c6b;
  outline-offset: 3px;
}

.jq-audit-results .jq-audit-results__item.is-active::before {
  border-color: #ec7c6b;
  background-color: rgba(236, 124, 107, 0.08);
}

/* Pasek postępu automatycznego przełączania na aktywnym kaflu */
.jq-audit-results__progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: #ec7c6b;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.jq-audit-results.is-playing .jq-audit-results__item.is-active .jq-audit-results__progress {
  opacity: 1;
  animation: jq-audit-grow-x 5.5s linear forwards;
}

.jq-audit-results .jq-audit-results__item--summary::before {
  border-color: rgba(236, 124, 107, 0.55);
  background: linear-gradient(150deg, rgba(236, 124, 107, 0.22), rgba(236, 124, 107, 0.06));
}

.jq-audit-results .jq-audit-results__item--summary .jq-www-ai__icon {
  background-color: #ec7c6b;
}

.jq-audit-results .jq-audit-results__item--summary .jq-www-ai__icon img {
  filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
  .jq-audit-results__device {
    position: relative;
    top: auto;
    padding-right: 0;
  }

  .jq-audit-device--portrait {
    max-width: 340px;
    transform: none;
  }
}

/* Telefon: mniejszy tablet, żeby razem z pierwszym kaflem mieścił się na ekranie */
@media (max-width: 575px) {
  .jq-audit-device--portrait {
    max-width: 260px;
  }
}

/* ---------- 05 Kiedy warto: przyklejony wstęp + oś sytuacji ---------- */
/* clip: sticky działa; stretch: lewa kolumna ma wysokość listy, żeby intro się przyklejało */
.jq-audit-when {
  overflow: clip;
}

.jq-audit-when__row {
  align-items: stretch;
}

.jq-audit-when__aside {
  position: relative;
}

.jq-audit-when__intro {
  position: sticky;
  top: 120px;
  z-index: 1;
  /* dolny padding = miejsce na sygnet pod tekstem */
  padding: 8px 24px 160px 0;
}

.jq-audit-when__title,
.jq-audit-when__lead,
.jq-audit-when__text {
  position: relative;
  z-index: 1;
}

.jq-audit-when__title {
  margin-bottom: 20px;
  text-wrap: pretty;
}

.jq-audit-when__lead {
  margin: 0 0 18px;
  font-family: "Raleway-SemiBold";
  font-size: 16px;
  line-height: 26px;
  color: #222c49;
  text-wrap: pretty;
}

.jq-audit-when__text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #353746;
  text-wrap: pretty;
}

/* Przyklejony z tekstem: pod akapitami i w lewo — koral nie wchodzi w treść */
.jq-audit-when__deco {
  top: auto;
  right: auto;
  bottom: 0;
  left: -80px;
  z-index: 0;
  width: 220px;
  aspect-ratio: 824 / 536;
  background-image: url("../../img/jq-www/sygnet/Right-false4.svg");
  opacity: 1;
  /* bez parallax: jedzie 1:1 ze sticky intro */
  transform: none;
  will-change: auto;
}

@media (max-width: 1199px) {
  .jq-audit-when__deco {
    left: -48px;
    width: 180px;
  }
}

@media (max-width: 991px) {
  .jq-audit-when__intro {
    padding-bottom: 120px;
  }

  .jq-audit-when__deco {
    left: 0;
    width: 150px;
  }
}

.jq-audit-when__list {
  --jq-audit-progress: 0;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Oś: szara linia + koralowe wypełnienie (js/jq-audit.js ustawia --jq-audit-progress 0..1) */
.jq-audit-when__list::before,
.jq-audit-when__list::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 40px;
  bottom: var(--jq-audit-axis-end, 40px);
  width: 2px;
  background: #e4e5e9;
}

.jq-audit-when__list::after {
  background: linear-gradient(180deg, #ec7c6b, rgba(236, 124, 107, 0.6));
  transform: scaleY(var(--jq-audit-progress));
  transform-origin: top;
}

.jq-audit-when__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
}

/* Linia podziału zaczyna się przy tekście, oś z ikonami zostaje ciągła */
.jq-audit-when__body {
  padding: 26px 0;
  border-bottom: 1px solid rgba(224, 225, 226, 0.8);
}

.jq-audit-when__item .jq-audit-when__icon {
  margin-top: 18px;
}

.jq-audit-when__item:first-child .jq-audit-when__body {
  padding-top: 8px;
}

.jq-audit-when__item:first-child .jq-audit-when__icon {
  margin-top: 0;
}

.jq-audit-when__item:last-child .jq-audit-when__body {
  border-bottom: 0;
}

.jq-audit-when__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(224, 225, 226, 0.9);
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 0 8px #fff;
  transition: background-color 0.45s ease, border-color 0.45s ease;
}

.jq-audit-when__icon img {
  width: 26px;
  height: 26px;
  transition: filter 0.45s ease;
}

.jq-audit-when__item.is-reached .jq-audit-when__icon {
  border-color: #ec7c6b;
  background-color: #ec7c6b;
}

.jq-audit-when__item.is-reached .jq-audit-when__icon img {
  filter: brightness(0) invert(1);
}

.jq-audit-when__name {
  margin: 4px 0 8px;
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 21px;
  line-height: 30px;
  color: #222533;
}

.jq-audit-when__body p {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #353746;
  text-wrap: pretty;
}

@media (max-width: 991px) {
  .jq-audit-when__intro {
    position: relative;
    top: auto;
    padding: 0 0 24px;
  }

  .jq-audit-when__deco {
    display: none;
  }

  .jq-audit-when__item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
  }

  .jq-audit-when__body {
    padding: 22px 0;
  }

  .jq-audit-when__icon {
    width: 52px;
    height: 52px;
  }

  .jq-audit-when__list::before,
  .jq-audit-when__list::after {
    left: 25px;
  }

  .jq-audit-when__name {
    margin-top: 0;
    font-size: 20px;
    line-height: 30px;
  }
}

/* ---------- 06 Przebieg: lista materiałów w kroku 1 ---------- */
.jq-audit-process__text ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.jq-audit-process__text li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
}


.jq-audit-process__text li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ec7c6b;
}

/* Pasek statusu tabletu w kolorze aplikacji (zamiast style="" jak na stronie WWW) */
.jq-audit-device--meet {
  --jq-dev-chrome-bg: #1b2340;
}

.jq-audit-device--light {
  --jq-dev-chrome-bg: #f4f6f8;
}

.jq-audit-device--light .jq-www-device__app {
  background: var(--jq-dev-lcd, #e9ebf0);
}

.jq-audit-device--portrait .jq-audit-reader {
  background: var(--jq-dev-lcd, #e9ebf0);
}

/* Sceny tabletów: ten sam mechanizm co kroki 4-5 na stronie WWW
   (js/jq-www-device-scenes.js dodaje .is-run / .is-loop do .jq-www-scene) */
.jq-audit-scene {
  font-family: "Raleway-Regular", -apple-system, "Segoe UI", sans-serif;
  color: #e8eaed;
}

/* --- Wspólne: rozmowa wideo --- */
.jq-audit-meet {
  display: grid;
  grid-template-rows: 4.2cqw minmax(0, 1fr) 5.6cqw;
  height: 100%;
  background: #1b2340;
  font-size: 1.61cqw;
}

.jq-audit-meet__top {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 0 1.8cqw;
}

.jq-audit-meet__rec {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  font-variant-numeric: tabular-nums;
  color: #bdc1c6;
}

.jq-audit-meet__rec i {
  width: 0.8cqw;
  height: 0.8cqw;
  border-radius: 50%;
  background: #e4634c;
  animation: jq-audit-speak 1.4s ease-in-out infinite;
}

.jq-audit-meet__title {
  overflow: hidden;
  font-family: "Raleway-SemiBold";
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #e8eaed;
}

.jq-audit-meet__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 31cqw;
  gap: 1.2cqw;
  min-height: 0;
  padding: 0 1.6cqw;
}

.jq-audit-meet__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 1cqw;
  min-height: 0;
}

.jq-audit-meet__tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1cqw;
  background: #2a3253;
}

.jq-audit-meet__tile--main {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, #3a4468, #222c49);
}

.jq-audit-meet__tile img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 112%;
  max-width: none;
  translate: -50% 0;
}

.jq-audit-meet__tile b {
  position: absolute;
  left: 0.8cqw;
  bottom: 0.7cqw;
  padding: 0.2cqw 0.7cqw;
  border-radius: 0.5cqw;
  background: rgba(27, 35, 64, 0.6);
  font-family: "Raleway-SemiBold";
  font-weight: 400;
  font-size: 1.4cqw;
  color: #fff;
}

.jq-audit-meet__tile em {
  display: grid;
  place-items: center;
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 50%;
  background: #4a5371;
  font-family: "Raleway-SemiBold";
  font-style: normal;
  font-size: 2.24cqw;
  color: #fff;
}

.jq-audit-meet__tile--b em {
  background: #ec7c6b;
}

.jq-audit-meet__talk {
  position: absolute;
  right: 0.9cqw;
  top: 0.9cqw;
  display: flex;
  align-items: center;
  gap: 0.25cqw;
  width: 2.4cqw;
  height: 2.4cqw;
  justify-content: center;
  border-radius: 50%;
  background: #ec7c6b;
}

.jq-audit-meet__talk i {
  width: 0.3cqw;
  height: 1cqw;
  border-radius: 0.2cqw;
  background: #1b2340;
  animation: jq-audit-eq 0.9s ease-in-out infinite;
}

.jq-audit-meet__talk i:nth-child(2) { animation-delay: 0.15s; }
.jq-audit-meet__talk i:nth-child(3) { animation-delay: 0.3s; }

@keyframes jq-audit-eq {
  0%, 100% { scale: 1 0.4; }
  50% { scale: 1 1.2; }
}

.jq-audit-meet__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1cqw;
  font-size: 1.68cqw;
}

/* Panel materiałów (krok 1) */
.jq-audit-meet__panel {
  display: flex;
  flex-direction: column;
  gap: 0.8cqw;
  min-height: 0;
  padding: 1.6cqw 1.5cqw;
  border-radius: 1cqw;
  background: #fff;
  color: #222533;
}

.jq-audit-meet__panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4cqw;
  font-family: "Raleway-Bold";
  font-size: 1.82cqw;
  color: #222c49;
}

.jq-audit-meet__panel-title b {
  font-family: "Raleway-SemiBold";
  font-weight: 400;
  font-size: 1.47cqw;
  color: #83858e;
  font-variant-numeric: tabular-nums;
}

.jq-audit-meet__file {
  position: relative;
  display: grid;
  grid-template-columns: 3cqw minmax(0, 1fr) 1.6cqw;
  align-items: center;
  gap: 0.8cqw;
  padding: 0.8cqw 0.8cqw 1cqw;
  border: 1px solid #eceef1;
  border-radius: 0.7cqw;
  font-size: 1.43cqw;
  line-height: 1.25;
}

.jq-audit-meet__ext {
  display: grid;
  place-items: center;
  height: 2.6cqw;
  border-radius: 0.5cqw;
  background: #ec7c6b;
  font-family: "Raleway-Bold";
  font-style: normal;
  font-size: 1.05cqw;
  letter-spacing: 0.04em;
  color: #fff;
}

.jq-audit-meet__ext--xls {
  background: #2e8b57;
}

.jq-audit-meet__bar {
  position: absolute;
  left: 4.6cqw;
  right: 3.2cqw;
  bottom: 0.45cqw;
  height: 0.28cqw;
  border-radius: 0.2cqw;
  background: #ec7c6b;
  transform: scaleX(0);
  transform-origin: left center;
}

.jq-audit-meet__ok {
  position: relative;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: #ec7c6b;
  opacity: 0;
  scale: 0.5;
}

.jq-audit-meet__ok::after {
  content: "";
  position: absolute;
  left: 0.55cqw;
  top: 0.32cqw;
  width: 0.4cqw;
  height: 0.75cqw;
  border: solid #fff;
  border-width: 0 0.18cqw 0.18cqw 0;
  rotate: 45deg;
}

.jq-audit-meet__hint {
  margin-top: auto;
  font-size: 1.33cqw;
  color: #83858e;
}

/* Przebieg sceny „kickoff” (14 s) */
.jq-audit-scene--kickoff .jq-audit-meet__file,
.jq-audit-scene--kickoff .jq-audit-meet__hint,
.jq-audit-scene--kickoff .jq-audit-meet__panel {
  opacity: 0;
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__panel {
  animation: jq-www-show 0.6s 1.2s ease-out both;
}

/* Na starcie wideo zajmuje cały ekran, panel materiałów wsuwa się z prawej i ściska kafle */
.jq-audit-scene--kickoff .jq-audit-meet__stage {
  grid-template-columns: minmax(0, 1fr) 0cqw;
  column-gap: 0;
}

.jq-audit-scene--kickoff .jq-audit-meet__panel {
  min-width: 0;
  overflow: hidden;
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__stage {
  animation: jq-audit-stage-open 0.8s 0.9s cubic-bezier(0.45, 0, 0.2, 1) both;
}

.jq-audit-scene--kickoff.is-static .jq-audit-meet__stage {
  grid-template-columns: minmax(0, 1fr) 31cqw;
  column-gap: 1.2cqw;
  animation: none;
}

@keyframes jq-audit-stage-open {
  from { grid-template-columns: minmax(0, 1fr) 0cqw; column-gap: 0; }
  to { grid-template-columns: minmax(0, 1fr) 31cqw; column-gap: 1.2cqw; }
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__file { animation: jq-www-show 0.4s ease-out both; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--1 { animation-delay: 2s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--2 { animation-delay: 3.6s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--3 { animation-delay: 5.2s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--4 { animation-delay: 6.8s; }

.jq-audit-scene--kickoff.is-run .jq-audit-meet__bar { animation: jq-audit-grow-x 1.3s ease-in-out both; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--1 .jq-audit-meet__bar { animation-delay: 2.1s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--2 .jq-audit-meet__bar { animation-delay: 3.7s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--3 .jq-audit-meet__bar { animation-delay: 5.3s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--4 .jq-audit-meet__bar { animation-delay: 6.9s; }

.jq-audit-scene--kickoff.is-run .jq-audit-meet__ok { animation: jq-audit-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--1 .jq-audit-meet__ok { animation-delay: 3.4s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--2 .jq-audit-meet__ok { animation-delay: 5s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--3 .jq-audit-meet__ok { animation-delay: 6.6s; }
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--4 .jq-audit-meet__ok { animation-delay: 8.2s; }

/* Licznik materiałów rośnie razem z odhaczeniami plików (3.4 / 5 / 6.6 / 8.2 s z 14 s sceny) */
@property --jq-audit-files {
  syntax: "<integer>";
  inherits: false;
  initial-value: 0;
}

.jq-audit-meet__count {
  counter-reset: jq-audit-files var(--jq-audit-files);
}

.jq-audit-meet__count::before {
  content: counter(jq-audit-files);
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__count {
  animation: jq-audit-files 14s linear both;
}

.jq-audit-scene--kickoff.is-static .jq-audit-meet__count {
  --jq-audit-files: 4;
  animation: none;
}

@keyframes jq-audit-files {
  0%, 24.2% { --jq-audit-files: 0; }
  24.3%, 35.6% { --jq-audit-files: 1; }
  35.7%, 47% { --jq-audit-files: 2; }
  47.1%, 58.5% { --jq-audit-files: 3; }
  58.6%, 100% { --jq-audit-files: 4; }
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__bar,
.jq-audit-scene--kickoff.is-run .jq-audit-meet__ok {
  animation-fill-mode: both;
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__hint { animation: jq-www-fade-in 0.6s 9s ease-out both; }

/* Pasek ładowania znika po wgraniu pliku */
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--1 .jq-audit-meet__bar,
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--2 .jq-audit-meet__bar,
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--3 .jq-audit-meet__bar,
.jq-audit-scene--kickoff.is-run .jq-audit-meet__file--4 .jq-audit-meet__bar {
  animation-name: jq-audit-upload;
}

@keyframes jq-audit-upload {
  0% { transform: scaleX(0); opacity: 1; }
  85% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Stan statyczny (prefers-reduced-motion): wszystko widoczne */
.jq-audit-scene.is-static .jq-audit-meet__panel,
.jq-audit-scene.is-static .jq-audit-meet__file,
.jq-audit-scene.is-static .jq-audit-meet__hint,
.jq-audit-scene.is-static .jq-audit-meet__ok {
  animation: none;
  opacity: 1;
  scale: 1;
}

/* Rozmowa wideo: dopracowane elementy interfejsu (liczba uczestników, ikony, wyciszenie) */
.jq-audit-meet__people {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  margin-left: auto;
  padding: 0.35cqw 0.9cqw;
  border-radius: 2cqw;
  background: #2a3253;
  color: #e8eaed;
}

.jq-audit-meet svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jq-audit-meet__people svg {
  width: 1.5cqw;
  height: 1.5cqw;
}

.jq-audit-meet__controls i {
  display: grid;
  place-items: center;
  color: #e8eaed;
}

.jq-audit-meet__controls svg {
  width: 45%;
  height: 45%;
}

.jq-audit-meet__controls .is-end svg {
  width: 30%;
  height: 60%;
}

.jq-audit-meet__muted {
  position: absolute;
  right: 0.8cqw;
  top: 0.8cqw;
  display: grid;
  place-items: center;
  width: 2.3cqw;
  height: 2.3cqw;
  border-radius: 50%;
  background: rgba(27, 35, 64, 0.7);
  color: #f4a79b;
}

.jq-audit-meet__muted svg {
  width: 60%;
  height: 60%;
}

.jq-audit-meet__tile--main::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0.3cqw solid #ec7c6b;
  border-radius: inherit;
  animation: jq-audit-speak 1.6s ease-in-out infinite;
  pointer-events: none;
}

.jq-audit-meet__tile--main img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  left: 0;
  translate: none;
}

.jq-audit-meet__panel-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
}

.jq-audit-meet__panel-name svg {
  width: 1.7cqw;
  height: 1.7cqw;
  stroke: #ec7c6b;
}

/* Strefa upuszczania plików nad listą */
.jq-audit-meet__drop {
  display: grid;
  place-items: center;
  height: 5.4cqw;
  border: 0.15cqw dashed #c9ccd4;
  border-radius: 0.8cqw;
  background: #f6f6f7;
  color: #9a9ca5;
}

.jq-audit-meet__drop svg {
  width: 2.4cqw;
  height: 2.4cqw;
}

.jq-audit-meet__fname {
  display: flex;
  flex-direction: column;
  gap: 0.15cqw;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jq-audit-meet__fname small {
  font-size: 0.8em;
  color: #5f6270;
}

.jq-audit-meet__ext--eml {
  background: #4a6fa5;
}

.jq-audit-scene--kickoff.is-run .jq-audit-meet__drop {
  animation: jq-audit-drop 14s ease-in-out both;
}

@keyframes jq-audit-drop {
  0%, 10% { border-color: #c9ccd4; background: #f6f6f7; color: #9a9ca5; }
  14%, 58% { border-color: #ec7c6b; background: #fdf1ef; color: #ec7c6b; }
  64%, 100% { border-color: #c9ccd4; background: #f6f6f7; color: #9a9ca5; }
}

/* --- Scena 2: panel analiz --- */
.jq-audit-board {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.6cqw;
  height: 100%;
  padding: 2cqw 2.2cqw;
  background: #f4f6f8;
  color: #222533;
  font-size: 1.61cqw;
}

.jq-audit-board__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  row-gap: 0.9cqw;
}

.jq-audit-board__title {
  font-family: "Raleway-Bold";
  font-size: 2.17cqw;
  color: #222c49;
}

.jq-audit-board__pct {
  font-family: "Raleway-Bold";
  font-size: 2.17cqw;
  color: #ec7c6b;
  font-variant-numeric: tabular-nums;
}

.jq-audit-board__progress {
  grid-column: 1 / -1;
  height: 0.55cqw;
  overflow: hidden;
  border-radius: 0.4cqw;
  background: #e2e4e9;
}

.jq-audit-board__progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #222c49, #ec7c6b);
  transform: scaleX(0);
  transform-origin: left center;
}

.jq-audit-board__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.6cqw;
  min-height: 0;
}

.jq-audit-board__rows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7cqw;
}

.jq-audit-board__row {
  position: relative;
  display: grid;
  grid-template-columns: 2.6cqw minmax(0, 1fr) auto 4.6cqw 1.8cqw;
  align-items: center;
  gap: 0.9cqw;
  padding: 0.9cqw 1.1cqw 1.5cqw;
  border-radius: 0.8cqw;
  background: #fff;
  box-shadow: 0 0.2cqw 0.6cqw rgba(34, 37, 51, 0.06);
}

.jq-audit-board__ico {
  display: grid;
  width: 2.6cqw;
  height: 2.6cqw;
  padding: 0.45cqw;
  border-radius: 50%;
  background: rgba(236, 124, 107, 0.12);
}

.jq-audit-board__val {
  font-family: "Raleway-Bold";
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #222c49;
}

.jq-audit-board__row b {
  overflow: hidden;
  font-family: "Raleway-SemiBold";
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #222c49;
}

.jq-audit-board__team {
  display: flex;
}

.jq-audit-board__team em {
  display: grid;
  place-items: center;
  width: 2cqw;
  height: 2cqw;
  margin-left: -0.5cqw;
  border: 0.15cqw solid #fff;
  border-radius: 50%;
  background: #4a5371;
  font-family: "Raleway-SemiBold";
  font-style: normal;
  font-size: 0.98cqw;
  color: #fff;
}

.jq-audit-board__team em:nth-child(2) {
  background: #ec7c6b;
}

.jq-audit-board__bar {
  position: absolute;
  left: 1.1cqw;
  right: 1.1cqw;
  bottom: 0.55cqw;
  height: 0.45cqw;
  border-radius: 0.3cqw;
  background: linear-gradient(90deg, #222c49, #4a5371 70%, #ec7c6b);
  transform: scaleX(0);
  transform-origin: left center;
}

.jq-audit-board__done {
  position: relative;
  width: 1.8cqw;
  height: 1.8cqw;
  border: 0.15cqw solid #d5d7dd;
  border-radius: 50%;
}

.jq-audit-board__done::after {
  content: "";
  position: absolute;
  left: 0.55cqw;
  top: 0.3cqw;
  width: 0.4cqw;
  height: 0.75cqw;
  border: solid #fff;
  border-width: 0 0.18cqw 0.18cqw 0;
  rotate: 45deg;
  opacity: 0;
}

.jq-audit-board__chart {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.8cqw;
  background: #fff;
  box-shadow: 0 0.2cqw 0.6cqw rgba(34, 37, 51, 0.06);
}

.jq-audit-board__chart svg {
  width: 88%;
  height: auto;
}

.jq-audit-board__grid-line.jq-audit-board__grid-line--outer {
  fill: #f6f6f7;
}

.jq-audit-board__grid-line {
  fill: none;
  stroke: #e2e3e8;
  stroke-width: 1;
}

.jq-audit-board__axis {
  stroke: #e2e3e8;
  stroke-width: 1;
}

.jq-audit-board__area {
  fill: rgba(236, 124, 107, 0.22);
  stroke: #ec7c6b;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transform-origin: 0 0;
  scale: 0;
}

.jq-audit-board__caption {
  margin-top: 0.4cqw;
  font-family: "Raleway-SemiBold";
  font-size: 1.33cqw;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #83858e;
}

/* Przebieg sceny „analysis” (15 s) */
.jq-audit-scene--analysis.is-run .jq-audit-board__progress i {
  animation: jq-audit-grow-x 10.2s 0.6s linear both;
}

.jq-audit-scene--analysis.is-run .jq-audit-board__bar {
  animation: jq-audit-grow-x 2.2s ease-in-out both;
}

.jq-audit-scene--analysis.is-run .jq-audit-board__done {
  animation: jq-audit-check 0.3s ease-out both;
}

.jq-audit-scene--analysis.is-run .jq-audit-board__done::after {
  animation: jq-audit-check-mark 0.3s ease-out both;
}

.jq-audit-scene--analysis.is-run .jq-audit-board__row--1 .jq-audit-board__bar { animation-delay: 0.8s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--2 .jq-audit-board__bar { animation-delay: 2.4s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--3 .jq-audit-board__bar { animation-delay: 4s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--4 .jq-audit-board__bar { animation-delay: 5.6s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--5 .jq-audit-board__bar { animation-delay: 7.2s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--6 .jq-audit-board__bar { animation-delay: 8.6s; }

.jq-audit-scene--analysis.is-run .jq-audit-board__row--1 .jq-audit-board__done,
.jq-audit-scene--analysis.is-run .jq-audit-board__row--1 .jq-audit-board__done::after { animation-delay: 3s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--2 .jq-audit-board__done,
.jq-audit-scene--analysis.is-run .jq-audit-board__row--2 .jq-audit-board__done::after { animation-delay: 4.6s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--3 .jq-audit-board__done,
.jq-audit-scene--analysis.is-run .jq-audit-board__row--3 .jq-audit-board__done::after { animation-delay: 6.2s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--4 .jq-audit-board__done,
.jq-audit-scene--analysis.is-run .jq-audit-board__row--4 .jq-audit-board__done::after { animation-delay: 7.8s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--5 .jq-audit-board__done,
.jq-audit-scene--analysis.is-run .jq-audit-board__row--5 .jq-audit-board__done::after { animation-delay: 9.4s; }
.jq-audit-scene--analysis.is-run .jq-audit-board__row--6 .jq-audit-board__done,
.jq-audit-scene--analysis.is-run .jq-audit-board__row--6 .jq-audit-board__done::after { animation-delay: 10.8s; }

.jq-audit-scene--analysis.is-run .jq-audit-board__area {
  animation: jq-audit-radar-grow 10.4s 0.8s cubic-bezier(0.45, 0, 0.3, 1) both;
}

@keyframes jq-audit-radar-grow {
  0% { scale: 0; }
  100% { scale: 1; }
}

/* Z JS (klasa is-live z js/jq-audit.js) pasek i radar idą za licznikami wierszy */
.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__progress i {
  animation: none;
  transform: scaleX(var(--jq-audit-board-p, 0));
}

.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__area {
  animation: none;
  scale: 1;
}

.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__bar {
  animation: none;
  transform: scaleX(var(--jq-audit-row-p, 0));
}

.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__row .jq-audit-board__done,
.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__row .jq-audit-board__done::after {
  animation: none;
}

.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__row.is-done .jq-audit-board__done {
  animation: jq-audit-check 0.3s ease-out both;
}

.jq-audit-scene--analysis .jq-audit-board.is-live .jq-audit-board__row.is-done .jq-audit-board__done::after {
  animation: jq-audit-check-mark 0.3s ease-out both;
}

.jq-audit-scene.is-static .jq-audit-board__progress i,
.jq-audit-scene.is-static .jq-audit-board__bar {
  animation: none;
  transform: scaleX(1);
}

.jq-audit-scene.is-static .jq-audit-board__area {
  animation: none;
  scale: 1;
}

/* --- Scena 3: konsultacja zamykająca z prezentacją --- */
.jq-audit-meet--present .jq-audit-meet__stage {
  grid-template-columns: minmax(0, 1fr) 17cqw;
}

.jq-audit-meet__screen {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 1cqw;
  background: #222c49;
  font-size: 1.47cqw;
}

.jq-audit-meet__slide {
  inset: 1.4cqw;
  box-shadow: none;
  transform: none;
  transition: none;
}

.jq-audit-meet__side {
  display: grid;
  grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1cqw;
  min-height: 0;
}

.jq-audit-meet__side .jq-audit-meet__tile em {
  width: 4.4cqw;
  height: 4.4cqw;
  font-size: 1.82cqw;
}

.jq-audit-meet__cursor {
  position: absolute;
  z-index: 2;
  left: 40%;
  top: 50%;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: rgba(236, 124, 107, 0.45);
  box-shadow: 0 0 0 0.4cqw rgba(236, 124, 107, 0.2);
  opacity: 0;
}

/* Przebieg sceny „closing” (15 s): slajd diagnozy, potem mapa działań */
/* Krótkie przejścia zamiast animacji na cały cykl: po ich końcu tekst slajdu
   wraca do zwykłego renderowania (ostre wygładzanie). .is-switched dodaje
   js/jq-audit.js po czasie z data-jq-audit-switch. */
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 {
  opacity: 1;
  animation: jq-audit-fade-in 0.45s 0.45s linear backwards;
}

.jq-audit-scene--closing.is-run.is-switched .jq-audit-meet__slide--1 {
  opacity: 0;
  transition: opacity 0.6s linear;
}

.jq-audit-scene--closing.is-run.is-switched .jq-audit-meet__slide--2 {
  opacity: 1;
  transition: opacity 0.6s 0.3s linear;
}

@keyframes jq-audit-fade-in {
  from { opacity: 0; }
}

/* Ekran sceny: zamiast wspólnej animacji jq-www-scene-inout na całą pętlę
   krótkie wejście i wygaszenie (.is-ending z js/jq-audit.js 0,75 s przed końcem) */
.jq-audit-scene.jq-www-scene.is-run .jq-www-scene__fade {
  animation: none;
}

.jq-audit-scene.jq-www-scene.is-run.is-loop .jq-www-scene__fade {
  animation: jq-audit-fade-in 0.45s linear backwards;
}

.jq-audit-scene.jq-www-scene.is-run.is-ending .jq-www-scene__fade {
  opacity: 0;
  transition: opacity 0.75s linear;
}

.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__line {
  animation: jq-audit-grow-x 0.8s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Slajd diagnozy na poziomym ekranie: radar, oceny obszarów i wnioski w trzech kolumnach */
.jq-audit-meet__slide--1 .jq-audit-doc__body--report {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 1.4em;
}

.jq-audit-meet__slide--1 .jq-audit-doc__cols {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2em;
}

.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__meter::after {
  animation: jq-audit-grow-x 0.9s 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__score:nth-child(2) .jq-audit-doc__meter::after { animation-delay: 1.4s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__score:nth-child(3) .jq-audit-doc__meter::after { animation-delay: 1.5s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__score:nth-child(4) .jq-audit-doc__meter::after { animation-delay: 1.6s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__score:nth-child(5) .jq-audit-doc__meter::after { animation-delay: 1.7s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__score:nth-child(6) .jq-audit-doc__meter::after { animation-delay: 1.8s; }

.jq-audit-scene--closing.is-run .jq-audit-meet__slide--1 .jq-audit-doc__radar-area {
  transform-box: fill-box;
  transform-origin: center;
  animation: jq-audit-pop 1s 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar {
  animation: jq-audit-grow-x 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar--a { animation-delay: 7.6s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar--b { animation-delay: 8.2s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar--c { animation-delay: 8.8s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar--d { animation-delay: 9.6s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar--e { animation-delay: 10.2s; }
.jq-audit-scene--closing.is-run .jq-audit-meet__slide--2 .jq-audit-doc__bar--f { animation-delay: 10.8s; }

.jq-audit-scene--closing.is-run .jq-audit-meet__cursor {
  animation: jq-audit-cursor 15s ease-in-out both;
}

@keyframes jq-audit-cursor {
  0%, 10% { opacity: 0; left: 30%; top: 40%; }
  14% { opacity: 1; left: 32%; top: 45%; }
  30% { left: 58%; top: 58%; }
  42% { opacity: 1; left: 66%; top: 66%; }
  46% { opacity: 0; }
  52% { opacity: 0; left: 30%; top: 46%; }
  56% { opacity: 1; left: 34%; top: 46%; }
  70% { left: 62%; top: 62%; }
  86% { opacity: 1; left: 86%; top: 78%; }
  94%, 100% { opacity: 0; left: 86%; top: 78%; }
}

.jq-audit-scene.is-static .jq-audit-meet__slide--1 {
  animation: none;
  opacity: 0;
}

.jq-audit-scene.is-static .jq-audit-meet__slide--2 {
  animation: none;
  opacity: 1;
}

/* Kartki na tablecie pokazane od razu w trybie statycznym */
.jq-audit-scene .jq-audit-doc {
  opacity: 0;
  pointer-events: none;
}

/* ---------- 07 Cena: kwota w panelu, dwa przyciski ---------- */
.jq-audit-price > .container-md::before {
  display: none;
}

/* Lewy panel na wysokość intro + aside (z buttonami); lista lekko rozciągnięta */
.jq-audit-price .jq-www-price__grid {
  align-items: stretch;
}

.jq-audit-price .jq-www-price__includes {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.jq-audit-price .jq-www-price__list {
  flex: 1 1 auto;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.jq-audit-price .jq-www-price__list li {
  align-items: center;
}

.jq-audit-price .jq-www-price__item-icon {
  width: 22px;
  height: 22px;
  margin-top: 0;
}

.jq-audit-price__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: -28px -28px 24px;
  padding: 24px 28px 22px;
  background: linear-gradient(155deg, #2a334d 0%, #222c49 48%, #1a2035 100%);
  color: #fff;
}

.jq-audit-price__amount strong {
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 40px;
  line-height: 46px;
  font-variant-numeric: tabular-nums;
}

.jq-audit-price__amount span {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.jq-audit-price .jq-audit-price__btns {
  justify-content: flex-start;
  margin-top: 0;
}

.jq-audit-price .jq-audit-price__btns .btn {
  margin: 0;
}

.jq-audit-price .jq-audit-price__btns .btn:not(.btn--border) {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .jq-audit-price__amount {
    margin: -28px -24px 22px;
    padding: 22px 24px 20px;
  }

  .jq-audit-price__amount strong {
    font-size: 32px;
    line-height: 38px;
  }

  /* Odstęp panelu „Co obejmuje cena” → fakty pod spodem */
  .jq-audit-price .jq-www-price__includes {
    height: auto;
    margin-bottom: 32px;
  }
}

/* ---------- 08 Kto prowadzi audyt ---------- */
.jq-audit-people__row {
  row-gap: 24px;
}

.jq-audit-people__col {
  display: flex;
}

.jq-audit-person {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 28px 26px 26px;
  background-color: #fff;
  border: 1px solid rgba(224, 225, 226, 0.8);
  transition: border-color 0.3s ease-in-out, box-shadow 0.35s ease-in-out;
}

.jq-audit-person:hover {
  border-color: #ec7c6b;
  box-shadow: 0 16px 40px rgba(34, 37, 51, 0.06);
}

.jq-audit-person__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.jq-audit-person__photo {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #eef0f3, #dfe2e7);
}

.jq-audit-person__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: scale 0.7s ease-in-out;
}

.jq-audit-person:hover .jq-audit-person__photo img {
  scale: 1.06;
}

.jq-audit-person__meta {
  min-width: 0;
}

.jq-audit-person__name {
  margin: 0 0 4px;
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #222533;
}

.jq-audit-person__role {
  margin: 0;
  font-family: "Raleway-SemiBold";
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #222c49;
}

.jq-audit-person__bio {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #353746;
  text-wrap: pretty;
}

@media (max-width: 991px) {
  .jq-audit-person {
    padding: 24px 22px 22px;
  }

  .jq-audit-person__photo {
    width: 76px;
    height: 76px;
  }
}

/* ---------- 09 Formularz: klauzula, zgody, rozmówcy ---------- */
.jq-audit-form .jq-www-form__steps {
  margin-bottom: 0;
}

.jq-audit-form .jq-www-form__step:last-child {
  padding-bottom: 0;
}

/* Rozmówcy pod sobą: zdjęcie | dane, ścieśnione wiersze */
.jq-audit-form__people {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jq-audit-form__person {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  text-align: left;
  background-color: #fff;
  box-shadow: 0 10px 28px rgba(34, 37, 51, 0.05);
}

.jq-audit-form__person img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  background: #eef0f3;
}

.jq-audit-form__person p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  min-width: 0;
}

.jq-audit-form__person strong {
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #222533;
}

.jq-audit-form__person span {
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #353746;
}

.jq-audit-form .jq-audit-form__people-title {
  margin: 24px 0 4px;
}

/* Zgody marketingowe: +6 px odstępu między kolejnymi */
.jq-audit-form .wpcf7-form-control-wrap[data-name^="acceptance"] + .wpcf7-form-control-wrap[data-name^="acceptance"] {
  margin-top: 6px;
}

/* ---------- 10 Co dalej: kafle na osi ---------- */
.jq-audit-next .jq-www-lead-center {
  max-width: 1060px;
}

.jq-audit-next__row {
  position: relative;
  row-gap: 24px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

/* Linia łącząca ikony (rysuje się po wejściu sekcji) */
.jq-audit-next__row::before {
  content: "";
  position: absolute;
  /* od środka pierwszej ikony do środka ostatniej (padding kolumny 15px + połowa ikony 32px) */
  left: 47px;
  right: calc(25% - 47px);
  top: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #ec7c6b 0 8px, transparent 8px 14px);
  transform-origin: left center;
  transition: transform 1.4s 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.jq-www-reveal .jq-audit-next__row:not(.jq-www-in)::before {
  transform: scaleX(0);
}

.jq-audit-next__col {
  display: flex;
}

.jq-audit-next__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.jq-audit-next__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border: 1px solid rgba(236, 124, 107, 0.6);
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 0 8px #f6f6f7;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.jq-audit-next__icon img {
  width: 26px;
  height: 26px;
  transition: filter 0.35s ease;
}

.jq-audit-next__card:hover .jq-audit-next__icon {
  border-color: #ec7c6b;
  background-color: #ec7c6b;
}

.jq-audit-next__card:hover .jq-audit-next__icon img {
  filter: brightness(0) invert(1);
}

.jq-audit-next__title {
  margin: 0 0 10px;
  font-family: "Raleway-Bold";
  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: #222c49;
}

.jq-audit-next__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #ec7c6b;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.3s ease-in-out;
}

.jq-audit-next__link:hover,
.jq-audit-next__link:focus-visible {
  color: #ec7c6b;
}

.jq-audit-next__text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #353746;
  text-wrap: pretty;
}

@media (max-width: 991px) {
  .jq-audit-next__row::before {
    display: none;
  }

  .jq-audit-next__card {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid rgba(224, 225, 226, 0.8);
  }

  .jq-audit-next__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    box-shadow: none;
  }
}

/* ---------- 14 Baza wiedzy: miniatura pionowa kadrowana od góry (tytuł grafiki) ---------- */
.jq-www-knowledge .jq-audit-kb__img--top {
  object-position: 50% 0;
}

/* ---------- 11 FAQ: jak na tworzenie-stron-www — białe kafle, szara ramka, koral na hover ---------- */
.jq-audit-faq.offer-page-single__qa {
  padding: 96px 0;
  background-color: #fff;
}

.jq-audit-faq .offer-page-single__qa-title {
  margin-bottom: 52px;
}

.jq-audit-faq .jq-www-faq > li {
  background-color: #fff;
  border: 1px solid #e0e1e2;
}

.jq-audit-faq .jq-www-faq > li:hover {
  border-color: rgba(236, 124, 107, 0.55);
  box-shadow: 0 8px 24px rgba(34, 37, 51, 0.06);
}

.jq-audit-faq .jq-www-faq > li.active {
  background-color: #fff;
  border-color: #ec7c6b;
  box-shadow: 0 10px 28px rgba(34, 37, 51, 0.08);
}

@media (max-width: 991px) {
  .jq-audit-faq.offer-page-single__qa {
    padding: 64px 0;
  }

  .jq-audit-faq .offer-page-single__qa-title {
    margin-bottom: 32px;
  }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  .jq-audit-radar__sweep,
  .jq-audit-radar__dot,
  .jq-audit-doc,
  .jq-audit-doc *,
  .jq-audit-meet__talk i,
  .jq-audit-meet__rec i,
  .jq-audit-doc__wave {
    animation: none !important;
    transition: none !important;
  }

  .jq-audit-radar__sweep {
    opacity: 0 !important;
  }

  .jq-audit-next__row::before {
    transform: none !important;
  }
}

/* ==========================================================================
   Kontrast AA (WCAG 1.4.3) dla komponentów wspólnych z WWW i motywu
   Tylko na tej podstronie (.jq-audit-page na <main>), arkusze WWW i motywu
   zostają bez zmian. Szary #83858e (3,7:1) -> #5f6270 (6:1), koral w treści
   #ec7c6b (2,7:1) -> #b8503f (4,9:1). Przyciski bez zmian.
   ========================================================================== */
.jq-audit-page .jq-www-hero__note,
.jq-audit-page .jq-www-form__steps-title,
.jq-audit-page .jq-www-form__note,
.jq-audit-page .form-label,
.jq-audit-page .wpcf7-list-item-label {
  color: #5f6270;
}

.jq-audit-page .jq-www-link {
  color: #b8503f;
}

.jq-audit-page .jq-www-link:hover,
.jq-audit-page .jq-www-link:focus-visible {
  color: #222c49;
}

/* zgody CF7: motyw ustawia kolor selektorem z input + span, stąd dłuższy selektor */
.jq-audit-page .wpcf7-acceptance label input[type="checkbox"] + span {
  color: #5f6270;
}

.jq-audit-page .wpcf7-acceptance label input[type="checkbox"] + span a.jq-www-link {
  color: #b8503f;
}

.jq-audit-page .wpcf7-acceptance label input[type="checkbox"] + span a.jq-www-link:hover,
.jq-audit-page .wpcf7-acceptance label input[type="checkbox"] + span a.jq-www-link:focus-visible {
  color: #222c49;
}

/* Przebieg na telefonie: w jq-www.css reguła wyśrodkowania opisu stoi za regułą mobilną
   i ją nadpisuje (nagłówek do lewej, opis wyśrodkowany). Tu opis wyrównany jak nagłówek. */
@media (max-width: 991px) {
  .jq-audit-page .jq-www-process-head .www-services-page__over-steps-description {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

/* prefiks telefonu CF7 i bieżąca pozycja okruszków (motyw: #83858e, 3,7:1) */
.jq-audit-page .wpcf7-select.form-prefix,
body:has(.jq-audit-page) .breadcrumb__item--current {
  color: #5f6270;
}

/* Data aktualizacji w wierszu okruszków, po prawej (makieta v6); linia okruszków przechodzi pod oba elementy */
.jq-audit-layout .breadcrumb__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  border-top: 1px solid #f6f6f6;
}

.jq-audit-layout .breadcrumb {
  border-top: 0;
}

.jq-audit-updated {
  margin: 0;
  padding: 10px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: #5f6270;
}

/* Hero: raport odsunięty od tekstu o 32 px. Płótno zaczyna się 32 px dalej, a prawa krawędź
   zostaje jak w jq-www.css (kamera dopasowuje scenę do szerokości, więc pióro nie wychodzi
   dalej w prawo). Grafika zastępcza to klatka z renderu 3D, więc ma dokładnie kadr płótna. */
.jq-audit-page .jq-www-hero__canvas,
.jq-audit-page .jq-www-hero__fallback {
  left: calc(-10% + 32px);
  /* poniżej 1366 px płótno zwęża się płynnie, żeby końcówka pióra nie wychodziła za ekran */
  width: calc(128% - 32px - clamp(0px, (1366px - 100vw) * 0.32, 90px));
}

.jq-audit-page .jq-www-hero__fallback {
  right: auto;
  top: -16%;
  max-width: none;
  height: 132%;
  translate: none;
}

.jq-audit-page .jq-www-hero__fallback img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .jq-audit-page .jq-www-hero__canvas,
  .jq-audit-page .jq-www-hero__fallback {
    left: -6%;
    width: 112%;
  }

  .jq-audit-page .jq-www-hero__fallback {
    top: -4%;
    height: 112%;
  }

  /* kadr płótna na telefonie jest szerszy niż klatka, scena 3D przybliża raport tak samo */
  .jq-audit-page .jq-www-hero__fallback img {
    object-fit: cover;
  }
}

/* Telefon i tablet: klatka sceny jako plakat do pierwszej interakcji, potem płótno przykrywa ją
   bez intro (jq-audit-hero3d.js, klasa .is-poster) */
@media (max-width: 991px) {
  .jq-audit-page .jq-www-hero__stage.is-poster .jq-www-hero__fallback {
    display: block;
    opacity: 1;
    animation: none;
    transition: opacity 0.35s ease-out;
  }

  .jq-audit-page .jq-www-hero__stage.is-poster.is-ready .jq-www-hero__fallback {
    opacity: 0;
  }
}

/* ==========================================================================
   Wdrożenie WordPress: różnice względem css/jq-www/jq-www.css motywu.
   Paczka audytu miała własną, starszą kopię jq-www.css; tutaj są tylko zmiany,
   których potrzebuje audyt, zawężone do tej strony, żeby strona WWW się nie zmieniła.
   Popup listów referencyjnych: <dialog> motywu (templates/offer/www-services/dialog.php).
   ========================================================================== */

/* Secondary (.btn--border): od startu kontur, hover = wypełnienie koralem od lewej */
.jq-audit-page .btn--border {
  color: #ec7c6b;
  background-color: transparent;
  border: 1px solid #ec7c6b;
}

.jq-audit-page .btn--border::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

.jq-audit-page .btn--border::after {
  top: -1px;
  left: -1px;
  width: 0;
  height: calc(100% + 2px);
  background: #ec7c6b;
}

.jq-audit-page .btn--border:hover::after,
.jq-audit-page .btn--border:focus-visible::after {
  width: calc(100% + 2px);
}

.jq-audit-page .btn--border:hover,
.jq-audit-page .btn--border:focus-visible {
  color: #fff;
  background-color: transparent;
}

/* Formularz: przycisk → notka pod nim */
.jq-audit-page .jq-www-form__submit {
  gap: 26px;
}

/* CTA końcowe: treść wyśrodkowana w wysokości sekcji, podtytuł → przycisk = 28px */
.jq-audit-page .jq-www-dark:not(.jq-www-ai).offer-page-single__dark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.jq-audit-page .jq-www-dark:not(.jq-www-ai) > .container-hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.jq-audit-page .jq-www-dark:not(.jq-www-ai) .offer-page-single__dark-description {
  margin-bottom: 28px;
}

/* Mobile: CTA w nagłówku tylko na samej górze strony; po przewinięciu zostaje dolny pasek.
   W otwartym menu przycisk zostaje (klasa html.jq-www-scrolled z jq-www.js) */
@media (max-width: 991px) {
  html.jq-www-scrolled:not(.mobile-menu--open) body.jq-audit-layout .nav--mobile .nav__bottom {
    display: none;
  }
}
