/* Hero title entrance animation */
@keyframes dfHeroTitleIn {
    to { opacity: 1; transform: translateY(0); }
}
.df-hero-note { margin: 0.8rem 0; color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.df-direct-contact { display: inline-block; margin-top: 0.5rem; color: rgba(255,255,255,0.75); font-size: 0.95rem; text-underline-offset: 4px; }
.df-direct-contact:hover { color: #f7cd45; }

/* Section tag (small pill bar) */
.df-section-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f7cd45;
    background: rgba(230,176,12,0.1);
    border: 1px solid rgba(230,176,12,0.25);
    border-radius: 999px;
}

/* Hero red glow under the title */
.df-hero__glow {
    position: absolute;
    bottom: 8%;
    left: 50%;
    width: 48rem;
    height: 32rem;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(220,38,38,0.22), transparent 65%);
    pointer-events: none;
    z-index: 5;
}

/* Delayed reveal of the hero note ("5 pytań ...") */
.df-hero-note--reveal { opacity: 0; animation: dfHeroNoteReveal 0.6s ease 3s forwards; }
@keyframes dfHeroNoteReveal { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .df-hero-note--reveal { opacity: 1; animation: none; }
}

/* Marker-style CTA button (matches "Przejdź do repertuaru") */
.pot-cta-button {
    isolation: isolate;
    letter-spacing: 0.03em;
    text-decoration: none;
    background: url('../svgs/marker-yellow-v1.svg') no-repeat center center / 100% 100%;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.35s ease;
}
.pot-cta-arrow {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.35s ease;
}
.pot-cta-button:hover,
.pot-cta-button:focus-visible {
    transform: translateY(-2px) scale(1.04);
    filter: brightness(1.1);
}
.pot-cta-button:hover .pot-cta-arrow,
.pot-cta-button:focus-visible .pot-cta-arrow {
    transform: translateX(4px);
    background-color: rgba(0, 0, 0, 0.3);
}
.pot-cta-button:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .pot-cta-button, .pot-cta-arrow { transition: none; }
}
.df-trust { max-width: 1100px; margin: auto; padding: 2.1rem 1.5rem 3rem; text-align: center; }
.df-trust__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-bottom: 2.5rem; }
.df-trust__stats > div { padding: 1.5rem 0.5rem; background: radial-gradient(ellipse at 50% 30%, rgba(230,176,12,0.07), transparent 70%); }
.df-trust__stats strong { display: block; font-size: clamp(1.8rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.04em; color: #f7cd45; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .df-trust__stats strong { background: linear-gradient(110deg, #bd852e 0%, #f0c96d 20%, #fff4cc 34%, #ce963c 48%, #ffdf8a 65%, #fff7dc 78%, #bd852e 100%); background-size: 240% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: dfGoldShimmer 9s ease-in-out infinite alternate; }
    .df-trust__stats > div:nth-child(2) strong { animation-delay: -3s; }
    .df-trust__stats > div:nth-child(3) strong { animation-delay: -6s; }
}
@keyframes dfGoldShimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.df-trust__stats span { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 1rem; color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.6; }
.df-trust__stats span::before { content: ''; width: 2rem; height: 1px; background: linear-gradient(to right, transparent, #d8ad58, transparent); }
.df-trust > p { margin: 2rem 0 1.25rem; color: rgba(255,255,255,0.5); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.df-trust__clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3.5rem; }
.df-trust-logo {
    height: 38px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.df-trust-logo:hover { opacity: 1; filter: grayscale(0); }
@media (max-width: 600px) {
    .df-trust__stats { grid-template-columns: 1fr; gap: 0; }
    .df-trust__stats strong { font-size: 3rem; }
    .df-trust__stats span { margin-top: 0.65rem; }
    .df-trust-logo { height: 30px; max-width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
    .df-trust__stats strong { animation: none; }
    .df-trust-logo { transition: none; }
}
.pe-app--welcome .pe-app__bar, .pe-app--welcome .pe-summary { display: none; }
.pe-app--welcome .pe-app__layout { grid-template-columns: 1fr; }
.pe-welcome { max-width: 760px; margin: auto; padding: 2rem 0.5rem; text-align: center; }
.pe-welcome__eyebrow { display: block; color: #e6b00c; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.pe-welcome .pe-q { margin-bottom: 1rem; }
.pe-welcome .pe-sub { max-width: 560px; margin: 0 auto 1.5rem; }
.pe-welcome__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 2rem 0 2.25rem; text-align: left; }
.pe-welcome__steps li { position: relative; display: flex; align-items: center; gap: 0.85rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; background: rgba(255,255,255,0.025); transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease; }
.pe-welcome__steps li:hover { border-color: rgba(230,176,12,0.35); background: rgba(230,176,12,0.04); transform: translateY(-2px); }
.pe-welcome__step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: linear-gradient(135deg, rgba(230,176,12,0.2), rgba(230,176,12,0.06)); border: 1px solid rgba(230,176,12,0.3); color: #f7cd45; font-size: 0.85rem; font-weight: 700; font-style: italic; }
.pe-welcome__step-body { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.pe-welcome__step-label { display: block; font-size: 1.15rem; color: #f7cd45; letter-spacing: 0.02em; text-transform: none; font-weight: 700; font-style: italic; margin-bottom: 0.15rem; }
.pe-welcome__step-desc { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 500; line-height: 1.5; }
.pe-welcome__note { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.9rem; }
.pe-welcome__note--rotate { position: relative; min-height: 1.4em; max-width: 560px; margin-left: auto; margin-right: auto; }
.pe-welcome__note-item { position: absolute; left: 0; right: 0; top: 0; opacity: 0; animation: peNoteRotate 8s infinite; }
.pe-welcome__note-item:nth-child(1) { animation-delay: 0s; }
.pe-welcome__note-item:nth-child(2) { animation-delay: 4s; }
@keyframes peNoteRotate {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .pe-welcome__note-item { animation: none; }
    .pe-welcome__note-item:nth-child(1) { opacity: 1; }
    .pe-welcome__note-item:nth-child(2) { opacity: 0; }
}
.pe-welcome .df-direct-contact { background: transparent; border: 0; cursor: pointer; }
@media (max-width: 600px) { .pe-welcome__steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pe-app .pe-screen--in { animation: none; } }
.pe-summary-toggle { display: none; }
.pe-goal { margin-top: 1.25rem; }
.pe-variant-change:empty { display: none; }
.pe-variant-change { margin: 1rem 0; padding: 1rem; border: 1px solid rgba(230,176,12,0.3); border-radius: 14px; font-size: 0.85rem; line-height: 1.6; background: rgba(230,176,12,0.05); }
.pe-variant-change p { margin: 0.5rem 0 0; }
.pe-input option { color: #fff; background: #171717; }
@media (max-width: 1023px) {
    .pe-app__layout > .pe-summary { grid-row: 1; }
    .pe-summary-toggle { display: block; width: 100%; text-align: left; padding: 0.8rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; color: #f7cd45; cursor: pointer; }
    .pe-summary-toggle::after { content: '+'; float: right; }
    .pe-summary-toggle[aria-expanded="true"]::after { content: '−'; }
    .pe-summary:not(.is-open) .pe-summary__body { display: none; }
}
.df-hero-title {
    opacity: 0;
    transform: translateY(20px);
    animation: dfHeroTitleIn 1s ease 0.3s forwards;
}

/* Service card hover accent bar */
.df-service-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(to bottom, #e6b00c, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.group:hover .df-service-accent {
    opacity: 1;
}

/* Partner logos ("Zaufali nam") */
.df-partner-logo {
    height: 44px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.df-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Stats moved into the hero (above the h1) */
.df-trust__stats--hero {
    padding-bottom: 0;
    margin-bottom: 2.25rem;
    /* szerszy rząd: kolumny dopasowane do treści, żeby „Cała Polska” nie łamało się na dwie linie */
    grid-template-columns: repeat(3, auto);
    column-gap: 3.5rem;
    justify-content: center;
    width: max-content;
    max-width: calc(100vw - 3rem);
    margin-left: auto;
    margin-right: auto;
}
.df-trust__stats--hero strong { white-space: nowrap; }
@media (max-width: 600px) {
    .df-trust__stats--hero {
        grid-template-columns: 1fr;
        width: auto;
        max-width: 100%;
    }
}

/* Photo as tile background ("Robiliśmy to już nie raz") */
.df-cases > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* tytuł i opis dosunięte do dołu kafelka */
    min-height: 15rem;
}
.df-tile-photo { position: absolute; inset: 0; }
.df-tile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.df-tile-photo__grad {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
}

/* Venue logos (tile "Sceny w całej Polsce" — nad tytułem) */
.df-venue-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.4rem;
    margin-bottom: 1.1rem;
}
.df-venue-logo {
    height: 30.4px; /* 5% mniej niż 32px */
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.df-venue-logo:hover { opacity: 1; }

/* Scroll fade-in */
.df-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.df-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Konfigurator eventowy (mini app)
   ============================================================ */
.pe-app {
    background: linear-gradient(to bottom, rgba(230,176,12,0.045), rgba(230,176,12,0.015));
    border: 1px solid rgba(230,176,12,0.14);
    border-radius: 24px;
    padding: 1.25rem;
    position: relative;
}
@media (min-width: 640px) {
    .pe-app { padding: 2rem; }
}
.pe-app--welcome {
    background: linear-gradient(to bottom, rgba(230,176,12,0.06), rgba(230,176,12,0.02));
    border-color: rgba(230,176,12,0.18);
}

/* Locked/active configurator */
.pe-app--active { position: relative; }

/* Body lock: configurator overlays everything */
body.pe-locked { overflow: hidden; }
body.pe-locked::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 9998;
}
body.pe-locked #konfigurator {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    max-width: 1100px;
    margin: 0 auto;
    overflow-y: auto;
    z-index: 9999;
    padding: 1rem 1.5rem !important;
    background: #000;
}
body.pe-locked #konfigurator > .df-section-tag,
body.pe-locked #konfigurator > h2,
body.pe-locked #konfigurator > p { display: none; }

/* Exit buttons */
.pe-exit {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 50;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.pe-exit svg { width: 14px; height: 14px; }
.pe-exit:hover { color: #fca5a5; background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.3); }
.pe-exit--tl { position: fixed; top: 1rem; right: 1rem; }
.pe-exit--br { position: fixed; bottom: 1rem; right: 1rem; }
.pe-exit[hidden] { display: none; }

/* Exit confirmation overlay */
.pe-exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.pe-exit-overlay.pe-visible {
    opacity: 1;
    pointer-events: auto;
}
.pe-exit-overlay__card {
    background: #161411;
    border: 1px solid rgba(230,176,12,0.25);
    border-radius: 18px;
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 90vw;
    transform: scale(0.92) translateY(8px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pe-exit-overlay.pe-visible .pe-exit-overlay__card {
    transform: scale(1) translateY(0);
}
.pe-exit-overlay__card p {
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.pe-exit-overlay__warn {
    margin-top: -1rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.5) !important;
}
.pe-exit-overlay__actions { display: flex; gap: 0.75rem; justify-content: center; }
.pe-exit-overlay__btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.pe-exit-overlay__btn--no {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}
.pe-exit-overlay__btn--no:hover { background: rgba(255,255,255,0.1); }
.pe-exit-overlay__btn--yes {
    background: rgba(220,38,38,0.15);
    border-color: rgba(220,38,38,0.4);
    color: #fca5a5;
}
.pe-exit-overlay__btn--yes:hover { background: rgba(220,38,38,0.25); }

/* Top bar: back + progress + quick next (sticky) */
.pe-app__bar {
    position: sticky;
    top: 0.5rem;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.05rem 0.75rem;
    margin: -0.5rem -0.5rem 1.5rem;
    padding: 0.45rem 0.5rem;
    min-height: 44px;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 999px;
}
.pe-app__bar > #pe-back { grid-column: 1; grid-row: 1; justify-self: start; }
.pe-app__bar > .pe-bar-actions { grid-column: 3; grid-row: 1; justify-self: end; }
.pe-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}
.pe-bar-actions[hidden] { display: none; }
.pe-bar-next { flex-shrink: 0; }
.pe-countdown--sm svg { width: 18px; height: 18px; }
.pe-countdown--sm .pe-countdown__ring { animation-duration: 5s; }
.pe-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}
.pe-back:hover { color: #fff; background: rgba(255,255,255,0.06); }
.pe-back svg { width: 16px; height: 16px; }
/* Label centered in row 1, track full-width in row 2 — always in flow, no overlap */
.pe-progress__label { grid-column: 2; grid-row: 1; justify-self: center; }
.pe-progress__track {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 50%;
    justify-self: center;
}
.pe-progress__label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e6b00c;
    white-space: nowrap;
}
.pe-progress__track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    margin-top: -8px;
}
.pe-progress__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(to right, #e6b00c, #f7cd45);
    transition: width 0.45s ease;
}

/* Layout: screen + sticky summary */
.pe-app__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 1024px) {
    .pe-app__layout { grid-template-columns: 1fr 300px; align-items: start; }
}

/* Screen transition */
.pe-screen { min-height: 320px; }
.pe-screen--in {
    animation: peScreenIn 0.45s ease both;
}
@keyframes peScreenIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.pe-q {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.15;
    margin: 0 0 1.4rem;
}
.pe-q--center { text-align: center; }
.pe-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: -0.7rem 0 1.4rem;
}
.pe-sub--center { text-align: center; }

/* Option tiles */
.pe-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 700px) {
    .pe-tiles--2 { grid-template-columns: repeat(2, 1fr); }
    .pe-tiles--3 { grid-template-columns: repeat(3, 1fr); }
    .pe-tiles--4 { grid-template-columns: repeat(2, 1fr); }
    .pe-tiles--5 { grid-template-columns: repeat(2, 1fr); }
}
.pe-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.4rem;
    text-align: left;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 1.15rem 1.15rem;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.pe-tile--info { padding-bottom: 2.3rem; }
.pe-tile:hover {
    border-color: rgba(230,176,12,0.4);
    background: rgba(230,176,12,0.05);
    transform: translateY(-1px);
}
.pe-tile.is-selected {
    border-color: #e6b00c;
    background: rgba(230,176,12,0.1);
}
.pe-tile__icon {
    display: block;
    color: #e6b00c;
    margin-bottom: 0.15rem;
    flex-shrink: 0;
}
.pe-tile__icon svg { width: 26px; height: 26px; display: block; }
.pe-tile__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}
.pe-tile__label { font-size: 1.18rem; font-weight: 700; line-height: 1.25; }
.pe-tile__desc { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.pe-tile__info {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.5);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.pe-tile__info svg { width: 13px; height: 13px; }
.pe-tile__info:hover, .pe-tile__info:focus-visible {
    border-color: #e6b00c;
    color: #e6b00c;
    background: rgba(230,176,12,0.1);
    outline: none;
}
.pe-tile__check {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6b00c;
    color: #0a0a0a;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.pe-tile__check svg { width: 12px; height: 12px; }
.is-selected .pe-tile__check { opacity: 1; transform: scale(1); }
.pe-tile .pe-tile__label { padding-right: 1.75rem; }

/* Audience step: big numbers, icon + number + info in one centered line */
.pe-tiles--step-audience { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) {
    .pe-tiles--step-audience { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .pe-tiles--step-audience { grid-template-columns: repeat(5, 1fr); }
}
.pe-tiles--step-audience .pe-tile {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
    padding: 0.95rem 0.6rem;
    min-width: 0;
}
.pe-tiles--step-audience .pe-tile__icon { margin-bottom: 0; }
.pe-tiles--step-audience .pe-tile__icon svg { width: 18px; height: 18px; }
.pe-tiles--step-audience .pe-tile__text { display: block; min-width: 0; }
.pe-tiles--step-audience .pe-tile__label {
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    font-weight: 700;
    padding-right: 0;
    white-space: nowrap;
}
.pe-tiles--step-audience .pe-tile__info {
    position: static;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.pe-tiles--step-audience .pe-tile--info { padding-bottom: 0.95rem; }
@media (min-width: 900px) {
    .pe-tiles--step-audience .pe-tile { padding: 1.4rem 0.6rem; }
    .pe-tiles--step-audience .pe-tile--info { padding-bottom: 1.4rem; }
}

/* Mood step: icon + label in one line */
.pe-tiles--step-mood .pe-tile {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}
.pe-tiles--step-mood .pe-tile__icon { margin-bottom: 0; }

/* Recap pills (above variant cards) */
.pe-recap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.3rem;
}
.pe-recap__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-right: 0.25rem;
}
.pe-recap__pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
}

/* Premium (most expensive) variant: gradient border */
.pe-variant--premium {
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(255,255,255,0.035), rgba(255,255,255,0.035)) padding-box,
        linear-gradient(135deg, #e6b00c, #fb923c 60%, #e6b00c) border-box;
    box-shadow: 0 10px 36px -14px rgba(230,176,12,0.35);
}
.pe-variant--premium:hover {
    border-color: transparent;
    box-shadow: 0 14px 44px -14px rgba(230,176,12,0.5);
}

/* Auto-advance countdown + Dalej */
.pe-main { min-width: 0; }
.pe-autonext {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    margin-top: 1.3rem;
    animation: peScreenIn 0.3s ease both;
}
.pe-autonext[hidden] { display: none; }
.pe-autonext .pe-back--ghost {
    margin-right: auto;
    opacity: 0.55;
}
.pe-autonext .pe-back--ghost:hover { opacity: 1; }
.pe-countdown { display: inline-flex; }
.pe-countdown svg { width: 24px; height: 24px; display: block; }
.pe-countdown__dot { fill: #e6b00c; }
.pe-countdown__ring {
    fill: none;
    stroke: #e6b00c;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 56.55;
    stroke-dashoffset: 56.55;
    transform: rotate(-90deg);
    transform-origin: center;
    animation: peCountdown 5s linear forwards;
}
@keyframes peCountdown {
    to { stroke-dashoffset: 0; }
}

/* Disabled tile (np. teatr przy >140 osobach) */
.pe-tile.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-style: dashed;
}
.pe-tile.is-disabled:hover {
    border-color: rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    transform: none;
}

/* Bilety box on the final step */
.pe-bilety-box { margin: 0 0 1.4rem; }
.pe-bilety-box .pe-tip__btn { text-decoration: none; }

/* Tips */
.pe-tip-slot:empty { display: none; }
.pe-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(230,176,12,0.07);
    border: 1px solid rgba(230,176,12,0.18);
    animation: peScreenIn 0.35s ease both;
}
.pe-tip svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #e6b00c;
    margin-top: 0.1rem;
}
.pe-tip p {
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
}
.pe-tip--warn {
    background: rgba(251,146,60,0.07);
    border-color: rgba(251,146,60,0.25);
}
.pe-tip--warn svg { color: #fb923c; }
.pe-tip--action { flex-wrap: wrap; }
.pe-tip__btn {
    margin-left: auto;
    align-self: center;
    background: transparent;
    border: 1px solid rgba(230,176,12,0.45);
    color: #f7cd45;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.pe-tip__btn:hover { background: #e6b00c; color: #0a0a0a; }

/* Recommended shows */
.pe-shows {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.pe-show {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    text-align: left;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, transform 0.15s ease;
}
@media (min-width: 700px) {
    .pe-show { grid-template-columns: 220px 1fr; }
}
.pe-show:hover { border-color: rgba(230,176,12,0.4); transform: translateY(-1px); }
.pe-show.is-selected { border-color: #e6b00c; background: rgba(230,176,12,0.06); }
.pe-show__imgwrap {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
@media (min-width: 700px) {
    .pe-show__imgwrap { aspect-ratio: auto; height: 100%; }
}
.pe-show__imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pe-show__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.15rem 1.25rem;
}
.pe-show__title { font-size: 1.15rem; font-weight: 700; font-style: italic; }
.pe-show__why { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.pe-show__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.pe-show__meta strong { color: #f7cd45; font-weight: 600; }
.pe-show .pe-tile__check { top: 0.8rem; right: 0.8rem; }
.pe-tile--advise { border-style: dashed; }

/* Variants (packages) */
.pe-variants {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}
@media (min-width: 800px) {
    .pe-variants { grid-template-columns: repeat(3, 1fr); }
}
.pe-variant {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 1.5rem 1.3rem;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.2s ease;
}
.pe-variant:hover { border-color: rgba(230,176,12,0.35); transform: translateY(-2px); }
.pe-variant.is-selected { border-color: #e6b00c; background: rgba(230,176,12,0.07); }
.pe-variant--featured { border-color: rgba(230,176,12,0.35); }
.pe-variant__badge {
    position: absolute;
    top: -0.7rem;
    left: 1.1rem;
    background: #e6b00c;
    color: #0a0a0a;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
}
.pe-variant__name {
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    margin: 0 0 0.6rem;
}
.pe-variant__desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0 0 1.1rem;
    flex: 1;
}
.pe-variant__price {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 1.1rem;
}
.pe-variant__price strong {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}
.pe-variant__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0a0a0a;
    background: #e6b00c;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 8px 28px -10px rgba(230,176,12,0.45);
}
.pe-variant__btn:hover { background: #f7cd45; transform: translateY(-1px); }
/* delikatny separator między opisem wariantu a listą perkami */
.pe-variant .pe-final__perks {
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.pe-variant .pe-final__perks li { font-size: 0.8rem; }

/* Przypisy pod kartami wariantów */
.pe-footnotes {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1.1rem;
}
.pe-footnote {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.45);
}

/* Extras — pełnowierszowy akordeon: nagłówek rozwija poziomy */
.pe-extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
.pe-extra {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    color: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.pe-extra:hover { border-color: rgba(230,176,12,0.35); }
.pe-extra.is-selected { border-color: #e6b00c; background: rgba(230,176,12,0.08); }
.pe-extra__head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1rem;
}
/* kropka po lewej: wybór (domyślnie BASIC) / odznaczenie dodatku */
.pe-extra__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pe-extra__dot svg { width: 12px; height: 12px; }
.pe-extra__dot:hover { border-color: #e6b00c; }
.pe-extra.is-selected .pe-extra__dot {
    background: #e6b00c;
    border-color: #e6b00c;
    color: #0a0a0a;
}
.pe-extra__toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    color: #fff;
    cursor: pointer;
    text-align: left;
}
/* bez obrysu focus po kliknięciu (nie dla nawigacji klawiaturą) */
.pe-extra__toggle:focus:not(:focus-visible),
.pe-extra__dot:focus:not(:focus-visible),
.pe-level:focus:not(:focus-visible) { outline: none; }
.pe-extra__icon { display: inline-flex; color: #e6b00c; flex-shrink: 0; }
.pe-extra__icon svg { width: 20px; height: 20px; }
.pe-extra__label { font-size: 0.95rem; font-weight: 600; flex: 1; }
.pe-extra__price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f7cd45;
    white-space: nowrap;
}
.pe-extra__price:empty { display: none; }
.pe-extra__range {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.pe-extra.is-selected .pe-extra__range { display: none; }
.pe-extra__chev {
    display: inline-flex;
    color: rgba(255,255,255,0.4);
    transition: transform 0.25s ease;
}
.pe-extra__chev svg { width: 16px; height: 16px; }
.pe-extra.is-open .pe-extra__chev { transform: rotate(180deg); }
.pe-extra__panel { display: none; }
.pe-extra.is-open .pe-extra__panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.15rem 1rem 0.95rem 2.85rem;
    animation: peScreenIn 0.25s ease both;
}
.pe-extra__levels { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pe-level {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.15rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.pe-level:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.pe-level.is-selected {
    background: rgba(230,176,12,0.12);
    border-color: #e6b00c;
    color: #f7cd45;
}
.pe-level__name { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.09em; }
.pe-extra__desc { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.pe-extra__desc:empty { display: none; }
.pe-extra__note { font-size: 0.72rem; color: rgba(255,255,255,0.4); line-height: 1.45; }
.pe-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.4rem;
}
.pe-next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.7rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0a0a0a;
    background: #e6b00c;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 8px 28px -10px rgba(230,176,12,0.45);
}
.pe-next:hover { background: #f7cd45; transform: translateY(-1px); }
.pe-next:disabled {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
#pe-ticket-next { margin-top: 1.5rem; }

/* Welcome "Zaczynamy" button: 30% bigger + subtle gold border ring */
.pe-welcome .pe-next {
    padding: 0.68rem 1.66rem;
    font-size: 1.2rem;
    position: relative;
    isolation: isolate;
}
.pe-welcome .pe-next::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1.5px solid rgba(230,176,12,0.45);
    pointer-events: none;
    animation: peStartRing 3.5s ease-in-out infinite;
    z-index: -1;
}
@keyframes peStartRing {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
    .pe-welcome .pe-next::after { animation: none; opacity: 0.6; }
}

/* Sticky summary */
.pe-summary__body {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
}
@media (min-width: 1024px) {
    .pe-summary { position: sticky; top: 5.5rem; }
}
.pe-summary__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #e6b00c;
    margin: 0 0 0.9rem;
}
.pe-summary__empty {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.55;
    margin: 0;
    font-style: italic;
}
.pe-summary__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pe-summary__list li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pe-summary__list li:last-child { border-bottom: 0; }
/* Dodatki w podsumowaniu — pionowa lista pod kluczem "Dodatki" */
.pe-summary__list .pe-summary__extras {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.pe-summary__list .pe-summary__extras li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0;
    border-bottom: 0;
}
.pe-summary__list .pe-summary__extras li span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}
.pe-summary__list .pe-summary__extras li em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #f7cd45;
    white-space: nowrap;
}
.pe-summary__key {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.4);
}
.pe-summary__val {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}
.pe-summary__price {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(230,176,12,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.pe-summary__price-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pe-summary__price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f7cd45;
}
.pe-summary__price-extra {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}
.pe-summary__price-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f7cd45;
}
.pe-summary__price-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin-top: 0.3rem;
}

/* Contact form */
.pe-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}
@media (min-width: 640px) {
    .pe-form__grid { grid-template-columns: 1fr 1fr; }
}
.pe-field { display: flex; flex-direction: column; gap: 0.35rem; }
.pe-field--full { margin-bottom: 0.9rem; }
.pe-field__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
}
.pe-field__label em { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.4); }
.pe-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    color: #fff;
    transition: border-color 0.2s ease;
    color-scheme: dark;
}
.pe-input:focus {
    outline: none;
    border-color: #e6b00c;
}
.pe-field--error .pe-input { border-color: #f87171; }
.pe-input--error { border-color: #f87171 !important; }
.pe-min-hint { font-size: 0.8em; color: rgba(255,255,255,0.5); font-weight: 400; }
.pe-frequency-toggle { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.pe-frequency-btn {
    flex: 1;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pe-frequency-btn:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.pe-frequency-btn.is-selected {
    background: rgba(230,176,12,0.12);
    border-color: #e6b00c;
    color: #f7cd45;
}
.pe-when-detail {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    transition: opacity 0.25s ease;
}
.pe-when-detail .pe-input { flex: 1; min-width: 200px; }
.pe-when-detail--locked {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(0.6);
}
.pe-when-detail--locked .pe-input {
    border-style: dashed;
    border-color: rgba(255,255,255,0.08);
}
.pe-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0.4rem 0 1.1rem;
    cursor: pointer;
}
.pe-consent input { margin-top: 0.15rem; accent-color: #e6b00c; }
.pe-consent--error { color: #f87171; }
.pe-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.pe-form__error {
    font-size: 0.87rem;
    color: #f87171;
    margin: 0 0 0.9rem;
}
.pe-form__variant {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 1.1rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(230,176,12,0.22);
    border-radius: 12px;
    background: rgba(230,176,12,0.05);
}
.pe-form__variant strong { color: #f7cd45; font-weight: 600; }
.pe-form__variant-sub {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.42);
    margin-top: 0.3rem;
}
.pe-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.8rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0a0a0a;
    background: #e6b00c;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 8px 28px -10px rgba(230,176,12,0.45);
}
@media (min-width: 640px) { .pe-submit { width: auto; } }
.pe-submit:hover { background: #f7cd45; transform: translateY(-1px); }
.pe-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

/* Success */
.pe-success {
    text-align: center;
    padding: 2.5rem 1rem;
}
.pe-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(230,176,12,0.12);
    border: 1px solid rgba(230,176,12,0.4);
    color: #e6b00c;
    margin-bottom: 1.4rem;
    animation: pePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pe-success__icon svg { width: 34px; height: 34px; }
@keyframes pePop {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
}
.pe-success .pe-sub { margin: -0.5rem auto 1.6rem; max-width: 420px; }

/* ============================================================
   Final step: hero summary + alternative variants
   ============================================================ */
.pe-app--final .pe-app__layout { grid-template-columns: 1fr; }
.pe-app--final .pe-summary { display: none; }

.pe-q--small {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    margin-top: 2.4rem;
}

.pe-final {
    position: relative;
    display: grid;
    /* bilet na całą szerokość — kolumna „Zmień wariant” już nie istnieje */
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
    perspective: 1300px;
}

/* Stage-light ambience behind the ticket */
.pe-final__glow {
    position: absolute;
    inset: -70px -50px -30px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(45% 55% at 50% 0%, rgba(230,176,12,0.12), transparent 70%);
    animation: peSpot 6s ease-in-out infinite;
}
.pe-final__glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(247,205,69,0.08), transparent 75%);
    clip-path: polygon(44% 0, 56% 0, 88% 100%, 12% 100%);
}
@keyframes peSpot {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

/* Perspective wrapper + entrance choreography */
.pe-ticket {
    position: relative;
    z-index: 1;
    animation: peTicketIn 0.75s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@keyframes peTicketIn {
    from { opacity: 0; transform: translateY(30px) rotateX(7deg) scale(0.98); }
    to { opacity: 1; transform: none; }
}
/* Main hero card — premium "ticket" */
.pe-final__main {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid transparent;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(230,176,12,0.03), transparent 55%) padding-box,
        linear-gradient(rgba(255,255,255,0.015), rgba(255,255,255,0.01)) padding-box,
        linear-gradient(135deg, rgba(230,176,12,0.35), rgba(251,146,60,0.2) 60%, rgba(230,176,12,0.35)) border-box;
    border-radius: 20px;
    box-shadow: 0 14px 44px -18px rgba(230,176,12,0.14);
    transition: transform 0.18s ease-out;
    will-change: transform;
}
/* Cursor-following light */
.pe-final__main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(340px circle at var(--mx, 80%) var(--my, 10%), rgba(247,205,69,0.07), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.pe-final__main:hover::after { opacity: 1; }
@media (min-width: 900px) {
    .pe-final__main {
        grid-template-columns: 1fr 270px;
        /* punched ticket notches at the perforation */
        -webkit-mask-image:
            radial-gradient(circle 11px at calc(100% - 270px) 0, transparent 10px, black 11px),
            radial-gradient(circle 11px at calc(100% - 270px) 100%, transparent 10px, black 11px);
        -webkit-mask-composite: source-in;
        mask-image:
            radial-gradient(circle 11px at calc(100% - 270px) 0, transparent 10px, black 11px),
            radial-gradient(circle 11px at calc(100% - 270px) 100%, transparent 10px, black 11px);
        mask-composite: intersect;
    }
}
/* Subtle shimmer sweep */
.pe-final__main::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.035), transparent);
    animation: peShine 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes peShine {
    0% { left: -60%; }
    55% { left: 130%; }
    100% { left: 130%; }
}

.pe-final__content {
    position: relative;
    min-width: 0;
    padding: 1.5rem 1.3rem;
}
.pe-final__eyebrow {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(230,176,12,0.85);
    margin-bottom: 1.1rem;
    animation: peScreenIn 0.5s ease both;
}
@media (min-width: 640px) {
    .pe-final__content { padding: 1.9rem 1.7rem; }
}
@media (min-width: 900px) {
    .pe-final__content { padding: 2.2rem 2.1rem; }
}

/* Ticket stub */
.pe-final__stub {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.5rem 1.3rem 1.9rem;
    border-top: 1px dashed rgba(255,255,255,0.16);
    background: radial-gradient(130% 130% at 100% 0%, rgba(230,176,12,0.05), transparent 55%);
    animation: peScreenIn 0.55s ease 0.2s both;
}
@media (min-width: 900px) {
    .pe-final__stub {
        border-top: 0;
        border-left: 1px dashed rgba(255,255,255,0.16);
        padding: 2.2rem 1.5rem 2.2rem 2.5rem;
    }
}

/* Vertical label along the perforation (desktop) */
.pe-final__vertical { display: none; }
@media (min-width: 900px) {
    .pe-final__vertical {
        display: block;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        writing-mode: vertical-rl;
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.26);
    }
}

/* Gold underline drawing under the variant name */
.pe-final__underline {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0.25rem 0 0.35rem;
    background: linear-gradient(90deg, #e6b00c, rgba(230,176,12,0));
    transform-origin: left;
    animation: peUnderline 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both;
}
@keyframes peUnderline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Barcode + serial */
.pe-final__meta {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}
.pe-final__barcode-svg {
    height: 30px;
    width: auto;
    max-width: 100%;
    opacity: 0.7;
}
.pe-final__barcode-svg rect { fill: rgba(255,255,255,0.8); }
.pe-final__serial {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

@media (prefers-reduced-motion: reduce) {
    .pe-ticket,
    .pe-final__glow,
    .pe-final__main::before,
    .pe-final__underline,
    .pe-final__item,
    .pe-final__stub,
    .pe-final__package { animation: none !important; }
}
.pe-final__logo {
    position: absolute;
    top: 1.5rem;
    right: 1.3rem;
    height: 22px;
    width: auto;
    opacity: 0.18;
    pointer-events: none;
}
@media (min-width: 900px) {
    .pe-final__logo { top: 2.1rem; right: 2.1rem; }
}
.pe-final__variant-name {
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.15;
    margin: 0;
}
@media (min-width: 900px) {
    .pe-final__variant-name { font-size: 1.6rem; }
}

.pe-final__package {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(230,176,12,0.18);
    animation: peScreenIn 0.55s ease 0.25s both;
}
.pe-final__perks-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(230,176,12,0.85);
    margin-bottom: 0.6rem;
}

.pe-final__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem 1.2rem;
}
@media (min-width: 640px) {
    .pe-final__grid { grid-template-columns: repeat(3, 1fr); }
}
.pe-final__item {
    animation: peScreenIn 0.5s ease both;
}
/* Dodatki zajmują pełny wiersz siatki — lista pionowa zamiast skompresowanego tekstu */
.pe-final__item--full { grid-column: 1 / -1; }
.pe-final__extras-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.pe-final__extras-list li {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.45;
}
.pe-final__extras-list li em {
    font-style: normal;
    font-weight: 600;
    color: #f7cd45;
}
.pe-final__extras-list li i {
    font-style: normal;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}
.pe-final__item:nth-child(2) { animation-delay: 0.06s; }
.pe-final__item:nth-child(3) { animation-delay: 0.12s; }
.pe-final__item:nth-child(4) { animation-delay: 0.18s; }
.pe-final__item:nth-child(5) { animation-delay: 0.24s; }
.pe-final__item:nth-child(6) { animation-delay: 0.3s; }
.pe-final__item:nth-child(7) { animation-delay: 0.36s; }
.pe-final__item span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.42);
    margin-bottom: 0.15rem;
}
.pe-final__item strong {
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}
@media (min-width: 900px) {
    .pe-final__item strong { font-size: 1.05rem; }
}

/* Chosen variant badge (in ticket stub) */
.pe-final__variant-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0a0a0a;
    background: #e6b00c;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.7rem;
}
.pe-final__price {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.pe-final__price-extras {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
}
.pe-final__price strong {
    font-size: 1.9rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(90deg, #f7cd45, #e6b00c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
@media (min-width: 900px) {
    .pe-final__price strong { font-size: 2.2rem; }
}
.pe-final__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}
@media (min-width: 640px) {
    .pe-final__perks { grid-template-columns: 1fr 1fr; }
}
.pe-final__perks li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.45;
}
.pe-final__perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #e6b00c;
    font-weight: 700;
}
