/* Tu začni (/tu-zacni): sprievodca, dlhé videá, mapa webu s vyhľadávaním */
.tz { display: grid; gap: var(--app-space-7); padding: calc(var(--app-space-7) + var(--app-space-5)) 0 calc(var(--app-space-7) * 2); }
.tz h2 { margin: 0 0 var(--app-space-2); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.tz-head { display: grid; gap: var(--app-space-4); justify-items: start; max-width: 760px; }
.tz-head h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.03em; }
.tz-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--v3-muted); max-width: 60ch; }
.tz-sub { margin: 0 0 var(--app-space-5); color: var(--v3-muted); line-height: 1.55; max-width: 60ch; }

/* Sprievodca */
.tz-chips { display: flex; flex-wrap: wrap; gap: var(--app-space-3); }
.tz-chip { min-height: 48px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--v3-line); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tz-chip:hover { border-color: var(--burgundy); }
.tz-chip[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.tz-chip:focus-visible, .tz-step:focus-visible, .tz-section:focus-visible, .tz-result:focus-visible, .tz-video-thumb:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.tz-path { margin-top: var(--app-space-5); }
.tz-path-text { margin: 0 0 var(--app-space-4); font-size: 17px; line-height: 1.55; max-width: 62ch; }
.tz-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--app-space-3); }
.tz-step { display: grid; grid-template-columns: auto 1fr auto; gap: var(--app-space-4); align-items: center; padding: var(--app-space-5); border-radius: 22px; background: var(--white); box-shadow: var(--v3-card-shadow); color: inherit; text-decoration: none; transition: transform .15s; }
.tz-step:hover { transform: translateY(-2px); }
.tz-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--burgundy); color: var(--white); font-weight: 600; }
.tz-step-body { display: grid; gap: 4px; }
.tz-step-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--v3-muted); }
.tz-step strong { font-size: 19px; color: var(--burgundy); }
.tz-step-body > span:last-child { color: var(--v3-muted); line-height: 1.5; }
.tz-arrow { width: 22px; height: 22px; color: var(--burgundy); }

/* Dlhé videá */
.tz-video-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--app-space-5); }
.tz-video { display: grid; gap: var(--app-space-3); }
.tz-video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--burgundy) 85%, var(--ink)); cursor: pointer; }
.tz-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tz-video-thumb.is-locked img { filter: saturate(.6) brightness(.75); }
.tz-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--white) 92%, transparent); color: var(--burgundy); }
.tz-play:not(.icon)::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--burgundy); }
.tz-play.icon { padding: 18px; }
.tz-video-body h3 { margin: 0 0 4px; font-size: 19px; }
.tz-video-body p { margin: 0; color: var(--v3-muted); line-height: 1.5; }
.tz-video-body .tz-meta { margin-top: 6px; font-size: 14px; }
.tz-meta a { color: var(--burgundy); font-weight: 600; }
.tz-player { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; background: var(--void); overflow: visible; }
.tz-player::backdrop { background: color-mix(in srgb, var(--void) 78%, transparent); backdrop-filter: blur(14px); }
.tz-player video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--void); }
.tz-player-close { position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.tz-player-close .icon { width: 20px; height: 20px; }
.tz-player-error { margin: 0; padding: var(--app-space-4); color: var(--white); }

/* Mapa webu a vyhľadávanie */
.tz-search { display: grid; gap: 6px; max-width: 560px; margin-bottom: var(--app-space-5); }
.tz-search-label { font-weight: 600; }
.tz-search input { min-height: 52px; padding: 12px 18px; border-radius: var(--radius-pill); border: 1px solid var(--v3-line); background: var(--white); font: inherit; font-size: 17px; color: var(--ink); }
.tz-search input:focus { outline: 3px solid var(--ember); outline-offset: 1px; border-color: var(--burgundy); }
.tz-results-h { margin: 0 0 var(--app-space-3); font-size: 16px; color: var(--v3-muted); }
.tz-result-list, .tz-sections { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--app-space-3); }
.tz-result, .tz-section { display: grid; gap: 4px; padding: var(--app-space-4) var(--app-space-5); border-radius: 18px; background: color-mix(in srgb, var(--white) 72%, transparent); border: 1px solid var(--v3-line-soft); color: inherit; text-decoration: none; transition: border-color .15s; }
.tz-result:hover, .tz-section:hover { border-color: var(--burgundy); }
.tz-result strong, .tz-section strong { color: var(--burgundy); font-size: 17px; }
.tz-result span:not(.tz-kind), .tz-section span { color: var(--v3-muted); line-height: 1.45; }
.tz-kind { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--v3-muted); }
.tz-empty { margin: 0; color: var(--v3-muted); }

/* Záver */
.tz-final { display: grid; gap: var(--app-space-4); justify-items: start; padding: var(--app-space-7) var(--app-space-6); border-radius: 28px; background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--ember) 35%, transparent), transparent 60%), var(--burgundy); color: var(--white); }
.tz-final h2 { color: var(--white); max-width: 30ch; margin: 0; }
.tz-final p { margin: 0; max-width: 60ch; line-height: 1.55; color: color-mix(in srgb, var(--white) 85%, transparent); }
.tz-final-actions { display: flex; flex-wrap: wrap; gap: var(--app-space-4); align-items: center; }
.tz-final .btn-primary { background: var(--white); color: var(--burgundy); }
.tz-final .btn-primary:hover { background: color-mix(in srgb, var(--white) 86%, var(--ember)); color: var(--burgundy); }
.tz-final-second { color: var(--white); font-weight: 600; }

@media (min-width: 900px) {
  .tz-steps { grid-template-columns: repeat(3, 1fr); }
  .tz-step { grid-template-columns: 1fr auto; align-content: start; }
  .tz-step .tz-n { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .tz-video-list { grid-template-columns: repeat(2, 1fr); }
  .tz-sections, .tz-result-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .tz-video-list { grid-template-columns: repeat(3, 1fr); }
  .tz-sections { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .tz-step, .tz-chip { transition: none; }
  .tz-step:hover { transform: none; }
}
