/* Quiz „Dobierz rytuał” (/quiz) */
.quiz-page { background: var(--white); }
.qz-progress { flex: 1; max-width: 420px; height: 3px; background: var(--grey); border-radius: 2px; overflow: hidden; }
.qz-progress i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s ease; }
.qz-men .qz-progress i { background: var(--navy); }
.qz-close { text-decoration: none; color: var(--muted); font-size: 1.1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.qz-close:hover { color: var(--blue); border-color: var(--blue); }

.qz-step { display: none; }
.qz .qz-step { min-height: calc(100vh - 69px); }
.qz-step.is-active { display: block; animation: qzIn .45s ease; }
@keyframes qzIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qz-step.is-active { animation: none; } }

.qz-start { display: grid; grid-template-columns: 1fr 1.1fr; min-height: calc(100vh - 69px); }
.qz-start__copy { padding: clamp(3rem, 7vw, 7rem) var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 720px; margin-left: auto; }
.qz-start__copy h1 { margin-bottom: 1.4rem; font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.qz-start__media { background: var(--stage); display: grid; place-items: center; overflow: hidden; }
.qz-start__media img { width: 100%; }

.qz-step .wrap--narrow { padding-block: clamp(3rem, 8vw, 7rem); }
.qz-count { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.qz-step h2 { margin-bottom: 2.4rem; }
.qz-men .qz-step h2, .qz-men .qz-result h3 a { color: var(--navy); }
.qz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qz-options button { font: inherit; text-align: left; cursor: pointer; background: var(--white); border: 1px solid var(--line); padding: 1.4rem 1.5rem; display: grid; gap: .25rem; transition: border-color .2s, background .2s, transform .2s; }
.qz-options button strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--blue); }
.qz-options button span { color: var(--muted); font-size: .9rem; }
.qz-options button:hover { border-color: var(--blue); transform: translateY(-2px); }
.qz-options button.is-picked { background: var(--blue); border-color: var(--blue); }
.qz-options button.is-picked strong, .qz-options button.is-picked span { color: var(--white); }
.qz-men .qz-options button strong { color: var(--navy); }
.qz-men .qz-options button:hover { border-color: var(--navy); }
.qz-men .qz-options button.is-picked { background: var(--navy); border-color: var(--navy); }
.qz-back { font: inherit; background: none; border: 0; color: var(--muted); cursor: pointer; margin-top: 2rem; padding: 0; }
.qz-back:hover { color: var(--blue); }

.qz-result__head { background: var(--blue); color: var(--white); padding-block: clamp(3rem, 6vw, 5rem); }
.qz-men .qz-result__head { background: var(--navy); }
.qz-result__head h2 { color: var(--white) !important; margin-bottom: 1rem; }
.qz-result__head p:not(.eyebrow) { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 680px; }
.qz-result__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.qz-ritual { list-style: none; border-top: 1px solid var(--line); }
.qz-ritual li { display: grid; grid-template-columns: 140px 1fr; gap: 1.6rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.qz-ritual li.is-owned { opacity: .55; }
.qz-ritual__img { position: relative; background: var(--stage); aspect-ratio: 1; overflow: hidden; }
.qz-ritual__img.is-navy { background: #002d88; }
.qz-ritual__img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.qz-ritual__n { font-size: .8rem; color: var(--muted); }
.qz-ritual h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: .2rem 0 .4rem; }
.qz-ritual h3 a { text-decoration: none; color: var(--blue); }
.qz-ritual p { color: var(--muted); margin-bottom: .6rem; }
.qz-soon { font-size: .8rem; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: .2rem .7rem; }
.qz-aside { position: sticky; top: 90px; display: grid; gap: 1.4rem; }
.qz-note:empty { display: none; }
.qz-note p { font-size: .88rem; color: var(--ink); background: var(--grey); border-left: 3px solid var(--blue); padding: 1rem 1.2rem; }
.qz-cta { display: grid; gap: .7rem; justify-items: start; }
.qz-cta__label { font-size: .85rem; color: var(--muted); }
.qz-cta small { color: var(--muted); font-size: .8rem; }
.qz-men .qz-cta .btn:not(.btn--ghost) { background: var(--navy); }
.qz-review { border-top: 1px solid var(--line); padding-top: 1.2rem; display: grid; gap: .6rem; }
.qz-review p { font-family: var(--serif); font-weight: 300; font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.qz-review small { color: var(--muted); font-size: .8rem; }

@media (max-width: 860px) {
  .qz-start, .qz-result__body { grid-template-columns: 1fr; }
  .qz-start__copy { margin-left: 0; }
  .qz-start__media { order: -1; }
  .qz-options { grid-template-columns: 1fr; }
  .qz-ritual li { grid-template-columns: 96px 1fr; gap: 1rem; }
  .qz-aside { position: static; }
}

/* Quiz v2: wywiad */
.qz.is-running .qz-start { display: none; }
.qz-stage:empty { display: none; }
.qz-stage { min-height: calc(100vh - 69px); animation: qzIn .45s ease; }
.qz-q { padding-block: clamp(2.5rem, 7vw, 6rem); }
.qz-q h2 { margin-bottom: .8rem; }
.qz-sub { color: var(--muted); margin-bottom: 1.8rem; }
.qz-q h2 + .qz-options { margin-top: 1.6rem; }
.qz-options--multi { grid-template-columns: 1fr 1fr; }
.qz-options--multi button { padding: 1rem 1.2rem 1rem 3.2rem; position: relative; }
.qz-options--multi button strong { font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--ink); }
.qz-options--multi button::before { content: ""; position: absolute; left: 1.1rem; top: 50%; width: 1.2rem; height: 1.2rem; margin-top: -.6rem; border: 1.5px solid var(--line); border-radius: 5px; background: var(--white); }
.qz-options--multi button.is-picked { background: var(--white); border-color: var(--blue); }
.qz-options--multi button.is-picked strong { color: var(--blue); }
.qz-options--multi button.is-picked::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/80% no-repeat; }
.qz-men .qz-options--multi button.is-picked { background: var(--white); border-color: var(--navy); }
.qz-men .qz-options--multi button.is-picked strong { color: var(--navy); }
.qz-men .qz-options--multi button.is-picked::before { background-color: var(--navy); border-color: var(--navy); }
.qz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.qz-nav .qz-back { margin-top: 0; }
.qz-nav .btn[disabled] { opacity: .35; pointer-events: none; }
.qz-men .qz-nav .btn { background: var(--navy); }
.qz-fact { background: var(--light-blue); padding: 1.1rem 1.4rem; margin-bottom: 2.4rem; border-radius: 4px; animation: qzIn .5s ease; }
.qz-men .qz-fact { background: #c9d3ea; }
.qz-fact strong { display: block; font-size: .8rem; color: var(--navy); margin-bottom: .3rem; }
.qz-fact p { color: #1c2a55; font-size: .95rem; }
.qz-start__list { list-style: none; display: grid; gap: .5rem; margin: 0 0 2rem; }
.qz-start__list li { padding-left: 1.6rem; position: relative; }
.qz-start__list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 600; }

.qz-loading { padding-block: clamp(4rem, 12vw, 10rem); text-align: center; }
.qz-loading ul { list-style: none; display: grid; gap: .7rem; justify-content: center; margin-top: 2rem; }
.qz-loading li { color: var(--muted); opacity: 0; animation: qzTick .4s ease forwards; }
.qz-loading li::before { content: "✓ "; color: var(--blue); }
.qz-loading li:nth-child(1) { animation-delay: .2s; } .qz-loading li:nth-child(2) { animation-delay: .7s; } .qz-loading li:nth-child(3) { animation-delay: 1.2s; }
@keyframes qzTick { to { opacity: 1; } }

.qz-insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: -2.5rem; position: relative; }
.qz-insights div + div { border-left: 1px solid var(--line); }
.qz-insights div { box-shadow: 0 20px 40px -30px rgba(0,45,135,.5); }
.qz-insights div { background: var(--white); padding: 1.4rem 1.5rem; }
.qz-insights strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--blue); display: block; margin-bottom: .4rem; }
.qz-men .qz-insights strong { color: var(--navy); }
.qz-insights p { font-size: .92rem; color: var(--muted); }
.qz-result__head { padding-bottom: clamp(4.5rem, 8vw, 6.5rem); }
.qz-h3 { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; color: var(--navy); margin: 0 0 1rem; }
.qz-ritual + .qz-h3 { margin-top: 2.6rem; }
.qz-why { font-size: .92rem; }
.qz-why strong { font-weight: 500; color: var(--ink); }
.qz-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--blue); }
.qz-men .qz-timeline { border-color: var(--navy); }
.qz-timeline li { padding: 1rem 1rem 0 0; display: grid; gap: .3rem; }
.qz-timeline strong { font-family: var(--serif); font-weight: 300; font-size: 1.3rem; color: var(--blue); }
.qz-men .qz-timeline strong { color: var(--navy); }
.qz-timeline span { font-size: .88rem; color: var(--muted); }
.qz-foot { font-size: .78rem; color: var(--muted); margin-top: 1.6rem; }
.qz-aside .qz-note p { margin: 0; }
@media (max-width: 860px) { .qz-options--multi { grid-template-columns: 1fr; } .qz-timeline { grid-template-columns: 1fr; gap: .6rem; } .qz-insights { margin-top: 0; } }
