#guide { margin-top: 28px; }
.guide-film {
  position: relative;
  margin-top: 18px;
  background: #191715;
  border: 1px solid #786552;
  border-radius: 5px;
  overflow: hidden;
  isolation: isolate;
}
.guide-film video { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 54% 44%; }
.guide-film-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: flex-end;
  color: #fffaf1;
  background: linear-gradient(0deg,rgba(12,12,11,.89),rgba(12,12,11,.09) 45%,transparent 66%);
}
.guide-film-cover:focus-visible { outline: 3px solid #f5dcb7; outline-offset: -4px; }
.guide-film-action {
  width: 100%;
  padding: 16px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  font: 550 16px/1.25 var(--sans);
  padding-top: 30px;
  background: linear-gradient(0deg, #0c0c0b 0%, #0c0c0b 68%, rgba(12,12,11,0) 100%);
}
.guide-film-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,250,239,.92); border-radius: 50%; background: rgba(20,19,17,.42); }
.guide-film-icon svg { margin-left: 2px; fill: currentColor; }
.guide-film-length { font-size: 14px; font-weight: 450; color: #efe8d9; font-variant-numeric: tabular-nums; }
#guide-film-error { margin-top: 8px; color: var(--quiet); }
@media (max-width: 350px) {
  .guide-film-action { padding: 12px; gap: 8px; font-size: 15px; }
}

.guide-story > h2 { text-wrap: balance; }
.guide-story > p { margin-top: 10px; }
@media (min-width: 900px) {
  :root:not(.phone-preview) .guide-intro {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
    align-items: center; gap: clamp(48px,6vw,96px);
  }
  :root:not(.phone-preview) .guide-story { max-width: 45ch; }
  :root:not(.phone-preview) .guide-media { justify-self: end; width: 100%; max-width: 460px; }
  :root:not(.phone-preview) .guide-film { margin-top: 0; }
}

/* Głosy klientów pod filmem, przewijane w bok: jedna karta na telefonie, trzy na komputerze. */
.voices {
  list-style: none; margin: 26px calc(-1 * var(--gutter)) 0; padding: 20px var(--gutter) 4px; border-top: 1px solid var(--line);
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.voices::-webkit-scrollbar { display: none; }
.voices:focus-visible { outline: 2px solid var(--sand); outline-offset: -2px; }
.voices > li { flex: 0 0 82%; scroll-snap-align: start; display: flex; }
.voice { margin: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: #1a1917; }
.voice blockquote { margin: 0; font: 400 21px/1.28 var(--serif); color: var(--ink); text-wrap: balance; }
.voice figcaption { display: flex; align-items: center; gap: 14px; color: var(--quiet); font-size: 14px; line-height: 1.3; }
.voice figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.voice-face { flex: none; width: 68px; height: 68px; border-radius: 50%; border: 1px solid #78614d; display: grid; place-items: center; overflow: hidden; font: 400 20px/1 var(--serif); color: var(--sand); background: #111110; }
.voice-face img { width: 100%; height: 100%; object-fit: cover; }
.voice-face svg { fill: var(--sand); }
.voices.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.voices-nav { display: none; }
.voices-nav button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: border-color 200ms, opacity 200ms; }
.voices-nav button:hover { border-color: var(--sand); }
.voices-nav button:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.voices-nav button:disabled { opacity: 0.3; cursor: default; border-color: var(--line); }
@media (min-width: 900px) {
  :root:not(.phone-preview) .voices { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; gap: 24px; }
  :root:not(.phone-preview) .voices > li { flex: 0 0 calc((100% - 48px) / 3); }
  :root:not(.phone-preview) .voices { cursor: grab; }
  :root:not(.phone-preview) .voices-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
}

/* Telefon: autor tuż pod cytatem, karta tak wysoka jak jej treść. Karty mają ten sam promień co kafelki. */
@media (max-width: 899px) {
  .voices { align-items: flex-start; }
  .voice { justify-content: flex-start; gap: 20px; }
}
.voice, .guide-film { border-radius: 7px; }
