/* Znaki Pana Śliwki — landing KV PKO BP */

@font-face {
    font-family: "PKO Sans";
    src: url("../fonts/PKOFont2024-Regular.woff2") format("woff2"),
         url("../fonts/PKOFont2024-Regular.woff") format("woff"),
         url("../fonts/PKOFont2024-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PKO Sans";
    src: url("../fonts/PKOFont2024-Medium.woff2") format("woff2"),
         url("../fonts/PKOFont2024-Medium.woff") format("woff"),
         url("../fonts/PKOFont2024-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PKO Sans";
    src: url("../fonts/PKOFont2024-SemiBold.woff2") format("woff2"),
         url("../fonts/PKOFont2024-SemiBold.woff") format("woff"),
         url("../fonts/PKOFont2024-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PKO Sans";
    src: url("../fonts/PKOFont2024-Bold.woff2") format("woff2"),
         url("../fonts/PKOFont2024-Bold.woff") format("woff"),
         url("../fonts/PKOFont2024-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --pko-navy: #003399;
    --pko-red: #e63312;
    --pko-red-alt: #ff3333;
    --ink: #222222;
    --muted: #5c6470;
    --bg-page: #f6f9fc;
    --bg-soft: #eef4fb;
    --accent-blue: #dceaf8;
    --white: #ffffff;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 42px rgba(0, 51, 153, 0.08);
    --shadow-card: 0 10px 28px rgba(17, 34, 68, 0.06);
    --site-header-h: 64px;
    --font: "PKO Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Strona główna: menu jako osobny pas nad banerem — hero zaczyna się pod headerem (bez nakładania) */
body.page-has-kv-hero main#main {
    padding-top: var(--site-header-h);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg-page);
    line-height: 1.55;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    padding: 8px 14px;
    background: var(--white);
    color: var(--pko-navy);
    z-index: 100;
}

.skip-link:focus {
    left: 8px;
}

/* --- Header --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 249, 252, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 51, 153, 0.06);
}

/* Strona główna: ten sam wygląd paska co na podstronach — bez logotypu do czasu scrollu pod KV */
.site-header--home-hero {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 40;
    background: rgba(246, 249, 252, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 51, 153, 0.06);
}

.site-header--home-hero:not(.site-header--brand-visible) .site-logo {
    display: none;
}

.site-header--home-hero:not(.site-header--brand-visible) .site-header__inner {
    justify-content: flex-end;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    min-height: var(--site-header-h);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--pko-navy);
}

.site-logo:focus-visible {
    outline: 2px solid var(--pko-navy);
    outline-offset: 4px;
    border-radius: 4px;
}

.site-logo__img {
    display: block;
    height: 38px;
    width: auto;
    flex-shrink: 0;
}

.site-logo__img--footer {
    height: 44px;
}

.site-logo__img--ticket {
    height: 46px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--pko-navy);
}

.site-nav a.is-active {
    color: var(--pko-navy);
    border-bottom: 2px solid var(--pko-red-alt);
    padding-bottom: 2px;
}

.site-nav__cta {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--pko-red-alt);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
    filter: brightness(1.05);
}

.site-nav__toggle {
    display: none;
    border: 1px solid rgba(0, 51, 153, 0.2);
    background: var(--white);
    padding: 8px 14px;
    border-radius: 999px;
    font-family: inherit;
    cursor: pointer;
}

.mobile-nav {
    border-bottom: 1px solid rgba(0, 51, 153, 0.08);
    background: var(--white);
}

.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0 18px;
}

.mobile-nav__inner a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}

@media (max-width: 880px) {
    .site-nav {
        display: none;
    }

    .site-nav__toggle {
        display: inline-block;
    }
}

/* --- Hero: baner 1:1 wg proporcji pliku (contain przez img width 100% + height auto) --- */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        overflow: visible;
    }
}

.hero__media {
    width: 100%;
    line-height: 0;
}

.hero__img {
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
    vertical-align: top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    /* safe center: przy wysokim tekście nie „wycina” tytułu u góry przy overflow */
    align-items: safe center;
    pointer-events: none;
}

.hero__overlay-inner {
    width: 100%;
    box-sizing: border-box;
    padding-inline: clamp(12px, 2.5vw, 40px);
}

/* Siatka KV: 1/6 pas logotypu | 3/6 tekst | 2/6 grafika (jak na mastergrafice) */
.hero__overlay-grid {
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
    align-items: safe center;
    width: 100%;
    min-height: 100%;
}

.hero__overlay-grid > * {
    min-width: 0;
}

.hero__col--text {
    display: flex;
    justify-content: flex-start;
    align-items: safe center;
    min-height: 0;
}

.hero__content {
    pointer-events: auto;
    width: 100%;
    max-width: min(min(520px, 42vw), 100%);
    margin: 0;
    padding: clamp(14px, 2.8vw, 40px) clamp(4px, 1vw, 12px) clamp(14px, 2.8vw, 40px) 0;
}

.hero__actions .btn {
    padding: clamp(11px, 1.3vw, 15px) clamp(18px, 2.5vw, 26px);
    font-size: clamp(0.82rem, 0.35vw + 0.78rem, 0.98rem);
}

.hero__actions .btn--primary {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(0.74rem, 0.25vw + 0.72rem, 0.86rem);
}

.hero__eyebrow {
    margin: 0 0 10px;
    font-size: clamp(0.58rem, 0.35vw + 0.52rem, 0.88rem);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.35;
    max-width: min(34rem, 100%);
}

.hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.34rem, 2.15vw + 0.92rem, 3.55rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.hero__tagline {
    margin: -6px 0 14px;
    font-size: clamp(0.88rem, 0.55vw + 0.72rem, 1.06rem);
    color: var(--muted);
    font-weight: 500;
    line-height: 1.45;
    max-width: min(36rem, 100%);
}

.hero__date {
    margin: 0 0 8px;
    font-size: clamp(1.05rem, 1.65vw + 0.55rem, 1.85rem);
    font-weight: 700;
}

.hero__place {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: clamp(0.92rem, 1vw + 0.55rem, 1.28rem);
    font-weight: 500;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .hero__overlay {
        position: relative;
        inset: auto;
        display: block;
        background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-page) 100%);
        pointer-events: auto;
    }

    .hero__overlay-grid {
        grid-template-columns: 1fr;
    }

    .hero__col--logo,
    .hero__col--art {
        display: none;
    }

    .hero__content {
        max-width: none;
        padding: clamp(14px, 4vw, 28px) 0 clamp(22px, 5vw, 36px);
    }

    .hero__title {
        font-size: clamp(1.42rem, 6.2vw + 0.35rem, 2.15rem);
        line-height: 1.09;
    }

    .hero__date {
        font-size: clamp(1rem, 3.5vw + 0.42rem, 1.35rem);
    }
}

@supports not (align-items: safe center) {
    @media (min-width: 769px) {
        .hero__overlay {
            align-items: flex-start;
            padding-top: clamp(20px, 4vh, 56px);
        }

        .hero__overlay-grid {
            align-items: start;
        }

        .hero__col--text {
            align-items: flex-start;
            padding-top: clamp(8px, 2vh, 28px);
        }
    }
}

@media (max-width: 420px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--pko-red-alt);
    color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    filter: brightness(1.06);
    box-shadow: 0 10px 22px rgba(255, 51, 51, 0.25);
}

.btn--secondary {
    background: #1a1f26;
    color: var(--white);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    filter: brightness(1.08);
}

.btn--ghost-light {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
    background: rgba(255, 255, 255, 0.26);
    color: var(--white);
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.86rem;
}

.btn--large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn:disabled,
.btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.3);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.btn-row--center {
    justify-content: center;
}

.btn--ghost {
    background: transparent;
    color: var(--pko-navy);
    border: 1px solid rgba(0, 51, 153, 0.28);
}

.btn--danger {
    background: #8b2942;
    color: var(--white);
}

/* --- Sections --- */

.section {
    padding: clamp(52px, 8vw, 96px) 0;
}

.section--soft {
    background: linear-gradient(180deg, var(--bg-soft), var(--bg-page));
}

.section--film-creators {
    background: var(--white);
    border-top: 1px solid rgba(0, 51, 153, 0.07);
    border-bottom: 1px solid rgba(0, 51, 153, 0.07);
}

.section--directors-note {
    background: linear-gradient(168deg, #dbe6f5 0%, #cdddf1 42%, #c3d4ec 100%);
    border-top: 1px solid rgba(0, 51, 153, 0.1);
    border-bottom: 1px solid rgba(0, 51, 153, 0.08);
}

.section--directors-note .film-quote.film-quote--in-grid {
    background: rgba(255, 255, 255, 0.82);
}

.section--about-flow {
    padding-bottom: clamp(40px, 6vw, 72px);
}

.about-flow__intro {
    margin-bottom: clamp(18px, 3vw, 32px);
}

.about-flow__intro.grid-2 {
    align-items: start;
}

.about-flow__intro .about-flow__intro-visual {
    margin: 0;
    width: 100%;
    max-width: none;
    overflow: hidden;
    align-self: start;
    justify-self: stretch;
}

.about-flow__intro .about-flow__intro-visual img {
    width: 100%;
    height: min(312px, 44vw);
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 92% 42%;
}

.about-flow__intro-actions {
    margin-top: clamp(16px, 2.5vw, 22px);
}

@media (max-width: 900px) {
    .about-flow__intro .about-flow__intro-visual img {
        height: min(248px, 62vw);
        object-position: 88% 38%;
    }
}

.about-flow__kv {
    margin-top: 0;
}

.section__intro {
    max-width: 640px;
    margin-bottom: 28px;
}

.section__intro h2 {
    margin-top: 0;
}

.section--terminy {
    padding-top: clamp(44px, 6vw, 72px);
    padding-bottom: clamp(44px, 6vw, 80px);
    background: var(--bg-page);
}

.section-terminy__head {
    margin-bottom: clamp(18px, 3vw, 26px);
    max-width: 720px;
}

.section-terminy__head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.65rem, 3vw, 2rem);
}

.section-terminy__head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.5;
}

.section-terminy .ticket-message {
    margin-top: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 48px);
    align-items: center;
}

.about-flow__kv.grid-2 {
    align-items: stretch;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 900px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.prose h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-top: 0;
}

.prose--narrow {
    max-width: 760px;
    margin-inline: auto;
}

/* --- Klamra / karty --- */

.bracket-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 51, 153, 0.06);
    overflow: hidden;
    position: relative;
}

.bracket-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    width: 10px;
    height: 64%;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--accent-blue), transparent);
    opacity: 0.65;
    pointer-events: none;
}

.bracket-card--light {
    padding: clamp(22px, 4vw, 34px);
}

.media-card img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.meta-list li {
    margin-bottom: 8px;
}

.meta-list--columns {
    columns: 2;
    gap: 24px;
}

@media (max-width: 700px) {
    .meta-list--columns {
        columns: 1;
    }
}

/* KV tiles */

.kv-tiles {
    gap: 22px;
}

.kv-tiles--compact {
    gap: clamp(16px, 2.5vw, 22px);
}

.kv-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 220px;
    height: 100%;
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.kv-box--compact {
    min-height: 0;
    grid-template-columns: 1.28fr minmax(96px, 0.42fr);
}

.kv-box__text {
    padding: clamp(22px, 4vw, 34px);
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.kv-box--compact .kv-box__text {
    padding: clamp(16px, 3vw, 22px) clamp(18px, 3vw, 24px);
}

.kv-box__text h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.kv-box--compact .kv-box__text h3 {
    font-size: clamp(1.2rem, 2vw, 1.35rem);
    margin-bottom: 8px;
}

.kv-box__lead {
    margin: 0 0 12px;
    font-size: clamp(0.84rem, 1.35vw, 0.92rem);
    line-height: 1.45;
    opacity: 0.94;
}

.kv-box--compact .kv-box__lead {
    margin-bottom: 10px;
}

.kv-box__dates {
    font-weight: 700;
    margin: 0 0 6px;
}

.kv-box__hours {
    margin: 0 0 12px;
    opacity: 0.92;
}

.kv-box--compact .kv-box__hours {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.kv-box__list {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
}

.kv-box__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.kv-box__list li:last-child {
    margin-bottom: 0;
}

.kv-li-icon {
    flex-shrink: 0;
    margin-top: 0.16em;
    opacity: 0.92;
    font-size: 1.05em;
}

.kv-box--compact .kv-box__list {
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.kv-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.kv-box__visual--narrow {
    min-height: 140px;
}

.kv-box--navy {
    background: linear-gradient(135deg, var(--pko-navy), #0a286d);
}

.kv-box--film {
    background: linear-gradient(135deg, #a41818, var(--pko-navy));
}

.kv-box__visual {
    position: relative;
    overflow: hidden;
    min-height: 140px;
    align-self: stretch;
}

.kv-box__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 55%);
}

.kv-box__visual--film::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 58%);
}

.kv-box__visual img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .kv-box {
        grid-template-columns: 1fr;
    }

    .kv-box--compact {
        grid-template-columns: 1fr;
    }

    .kv-box__visual {
        min-height: 168px;
        order: 2;
    }

    .kv-box__visual img {
        min-height: 168px;
    }

    .kv-box__visual--narrow {
        min-height: 156px;
        max-height: none;
    }
}

/* Meta lines (daty, godziny, miejsce) z Bootstrap Icons */

.meta-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 8px;
    line-height: 1.38;
    font-size: clamp(0.88rem, 1.1vw, 0.96rem);
}

.meta-inline:last-child {
    margin-bottom: 0;
}

.meta-inline__icon {
    flex-shrink: 0;
    margin-top: 0.14em;
    opacity: 0.88;
    font-size: 1.08em;
}

.meta-inline--on-dark {
    color: rgba(255, 255, 255, 0.94);
}

.meta-inline--on-dark .meta-inline__icon {
    opacity: 0.92;
    color: rgba(255, 255, 255, 0.88);
}

.kv-box .meta-inline--on-dark strong {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
}

.kv-box__list strong {
    font-weight: 700;
}

.meta-inline--card {
    margin: 0 0 7px;
    color: var(--ink);
}

.meta-inline--card .meta-inline__icon {
    color: var(--pko-navy);
    opacity: 0.82;
}

.screening-card .meta-inline--card:first-of-type {
    margin-top: 14px;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.screening-card .meta-inline--card:last-of-type {
    margin-bottom: 12px;
}

.bracket-edge {
    position: relative;
    border-radius: var(--radius-lg);
}

.bracket-edge::after {
    content: "";
    position: absolute;
    right: 12%;
    top: -6px;
    width: 42px;
    height: 72px;
    border-radius: 0 0 50% 50% / 0 0 38% 38%;
    background: rgba(220, 234, 248, 0.55);
    pointer-events: none;
}

/* Terminy / wejściówki */

.screening-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 960px) {
    .screening-grid {
        grid-template-columns: 1fr;
    }
}

.screening-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.screening-card__badge--loading {
    background: #e8ecf2;
    color: var(--muted);
}

.screening-card__badge--available {
    background: #d9f4ea;
    color: #0d6b4e;
}

.screening-card__badge--low {
    background: #f6e8d7;
    color: #8a4d16;
}

.screening-card__badge--sold_out {
    background: #eceef2;
    color: #8b2942;
}

.screening-card__remain {
    min-height: 1.4em;
    margin: 0 0 14px;
    font-size: 0.92rem;
    color: var(--muted);
}

.btn-inner-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-inner-icons > .bi {
    font-size: 1.05em;
    opacity: 0.95;
}

.ticket-message {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: #fff4f4;
    border: 1px solid rgba(139, 41, 66, 0.25);
    color: #6b1f32;
    font-weight: 600;
}

/* Informacje praktyczne + final CTA */

.practical-section__head {
    margin-bottom: clamp(22px, 3.5vw, 32px);
    max-width: 720px;
}

.practical-section__head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.65rem, 3vw, 2rem);
    color: var(--pko-navy);
}

.practical-section__head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.52;
}

.practical-card .practical-card__title-row h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--pko-navy);
}

.practical-card__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.practical-card__ico {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 51, 153, 0.08);
    color: var(--pko-navy);
    font-size: 1.18rem;
}

.practical-card p {
    margin: 0;
    line-height: 1.55;
    color: var(--ink);
}

.final-cta {
    padding: clamp(48px, 8vw, 80px) 0;
}

.final-cta__inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(26px, 5vw, 40px);
    background: linear-gradient(135deg, var(--pko-navy), #102d86);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

/* Bardzo delikatna tekstura zdjęcia — dominuje niebieski gradient */
.final-cta__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/content/film/film-intro-design.jpg") center / cover no-repeat;
    opacity: 0.055;
    pointer-events: none;
    z-index: 0;
}

.final-cta__inner > * {
    position: relative;
    z-index: 1;
}

.final-cta__inner h2 {
    margin: 0 0 8px;
}

.final-cta__sub {
    margin: 0;
    opacity: 0.92;
}

/* --- Podstrona filmu --- */

.film-cover {
    margin: 0 0 clamp(22px, 4vw, 38px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.film-cover img {
    width: 100%;
    height: min(380px, 56vw);
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 640px) {
    .film-cover img {
        height: min(240px, 68vw);
    }
}

.film-editorial-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 40px);
    align-items: start;
}

.film-editorial-columns__main.prose > p:first-of-type {
    font-size: clamp(1.05rem, 1.15vw, 1.16rem);
    line-height: 1.62;
}

@media (max-width: 900px) {
    .film-editorial-columns {
        grid-template-columns: 1fr;
    }
}

.film-editorial-columns__aside .metric-card {
    position: sticky;
    top: calc(var(--site-header-h) + 14px);
}

@media (max-width: 900px) {
    .film-editorial-columns__aside .metric-card {
        position: static;
    }
}

.film-opis-cta {
    margin-top: clamp(28px, 5vw, 44px);
    display: flex;
    justify-content: center;
}

.film-opis-cta__btn {
    min-width: min(100%, 340px);
    padding: 18px 36px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    box-shadow: 0 14px 36px rgba(230, 51, 18, 0.28);
}

.film-opis-cta__btn:hover,
.film-opis-cta__btn:focus-visible {
    box-shadow: 0 16px 40px rgba(230, 51, 18, 0.34);
}

.film-opis-prose .film-callout {
    margin-top: 1.25rem;
}

.film-inline-head {
    margin: 1.35rem 0 0.75rem;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--pko-navy);
}

/* --- Podstrona wystawy --- */

.exhibition-flow {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 5vw, 52px);
}

.exhibition-flow > .section-head-with-icon {
    margin-bottom: clamp(4px, 1vw, 10px);
}

.exhibition-strip.grid-2.film-split-chrome {
    align-items: stretch;
}

.exhibition-figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: rgba(0, 51, 153, 0.04);
}

.exhibition-figure img {
    width: 100%;
    height: auto;
    max-height: min(440px, 82vw);
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-wystawa .exhibition-strip:first-of-type .exhibition-figure img {
    object-position: center 22%;
}

.exhibition-duo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.5vw, 24px);
}

.exhibition-figure--duo img {
    max-height: min(300px, 44vw);
    object-fit: cover;
}

@media (max-width: 640px) {
    .exhibition-duo-row {
        grid-template-columns: 1fr;
    }

    .exhibition-figure--duo img {
        max-height: min(260px, 58vw);
    }
}

.exhibition-strip--poster .exhibition-figure img {
    max-height: min(400px, 88vw);
    object-fit: contain;
    background: #0f1114;
}

.exhibition-quote--full.film-callout {
    margin: 0;
}

.exhibition-practical-aside {
    min-width: 0;
}

.exhibition-practical-card.bracket-card {
    height: 100%;
}

.exhibition-cinemas-block {
    padding-top: clamp(8px, 2vw, 16px);
}

.exhibition-lead {
    font-size: clamp(1.06rem, 1.2vw, 1.18rem);
    line-height: 1.58;
    font-weight: 600;
    color: var(--pko-navy);
}

.exhibition-quote.film-callout {
    font-weight: 600;
    font-style: italic;
}

.exhibition-cinema-intro {
    margin-bottom: 8px;
}

.exhibition-cinema-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: clamp(22px, 4vw, 40px);
}

.exhibition-cinema-list li {
    break-inside: avoid;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 51, 153, 0.06);
    font-size: 0.93rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .exhibition-cinema-list {
        columns: 1;
    }
}

.grid-2.film-split-chrome {
    align-items: start;
}

.film-figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.film-figure img {
    width: 100%;
    height: auto;
    max-height: min(420px, 76vw);
    object-fit: cover;
    object-position: center;
    display: block;
}

.film-quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, min(34vw, 320px));
    gap: clamp(22px, 4vw, 36px);
    align-items: stretch;
}

.film-quote-grid--triple-visual {
    grid-template-columns: minmax(0, 1fr) minmax(200px, min(28vw, 280px));
    align-items: start;
}

.film-quote-grid__stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 16px);
}

.film-quote-grid__stack-item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.film-quote-grid__stack-item img {
    width: 100%;
    height: min(168px, 26vw);
    object-fit: cover;
    object-position: center;
    display: block;
}

.film-quote.film-quote--in-grid {
    margin: 0;
}

@media (max-width: 820px) {
    .film-quote-grid,
    .film-quote-grid--triple-visual {
        grid-template-columns: 1fr;
    }

    .film-quote-grid__stack {
        flex-direction: column;
        width: min(360px, 100%);
        margin-inline: auto;
    }

    .film-quote-grid__stack-item img {
        height: min(200px, 46vw);
    }
}

.film-metric-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.film-metric-card__title-ico {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 51, 153, 0.08);
    color: var(--pko-navy);
    font-size: 1.1rem;
}

.section-head-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: clamp(18px, 3vw, 26px);
}

.section-head-with-icon__ico {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 51, 153, 0.09);
    color: var(--pko-navy);
    font-size: 1.22rem;
}

.section-head-with-icon h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2rem);
}

.section-head-with-icon p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.45;
}

.film-meta-grid {
    display: grid;
    gap: 14px;
}

.film-meta-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.film-meta-row__ico {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 51, 153, 0.07);
    color: var(--pko-navy);
    font-size: 1.05rem;
    margin-top: 2px;
}

.film-meta-row strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 700;
}

.film-meta-row p {
    margin: 0;
    line-height: 1.45;
}

.film-meta-row--block p {
    font-size: 0.88rem;
}

.film-callout {
    margin: 0;
    padding: clamp(18px, 3vw, 24px) clamp(20px, 4vw, 28px);
    border-radius: var(--radius-md);
    background: rgba(0, 51, 153, 0.07);
    border: 1px solid rgba(0, 51, 153, 0.12);
    font-weight: 700;
    font-size: clamp(1.02rem, 1.5vw, 1.14rem);
    line-height: 1.45;
    color: var(--pko-navy);
}

.film-credits {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.film-credits li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.film-credits li:last-child {
    margin-bottom: 0;
}

.film-credits__ico {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--pko-navy);
    opacity: 0.85;
}

.creator-card .creator-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.creator-card .creator-card__ico {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 51, 153, 0.08);
    color: var(--pko-navy);
    font-size: 1.15rem;
}

.creator-card h3 {
    margin: 0;
    color: var(--pko-navy);
    font-size: 1.12rem;
}

.creator-card p {
    margin: 0 0 12px;
    font-size: 0.94rem;
    line-height: 1.52;
    color: var(--ink);
}

.creator-card p:last-child {
    margin-bottom: 0;
}

.film-quote {
    position: relative;
    padding: clamp(22px, 4vw, 32px) clamp(22px, 4vw, 36px) clamp(22px, 4vw, 28px)
        clamp(52px, 5vw, 64px);
}

.film-quote__mark {
    position: absolute;
    left: clamp(18px, 3vw, 26px);
    top: clamp(16px, 2.5vw, 22px);
    font-size: 2rem;
    color: rgba(0, 51, 153, 0.2);
    line-height: 1;
}

.film-quote p {
    margin: 0 0 1em;
    font-size: 1.02rem;
    line-height: 1.62;
}

.film-quote p:last-child {
    margin-bottom: 0;
}

/* Footer */

.site-footer {
    padding: 42px 0 52px;
    background: var(--white);
    border-top: 1px solid rgba(0, 51, 153, 0.06);
}

.site-footer__inner {
    text-align: center;
}

.site-footer .site-logo {
    justify-content: center;
}

.site-footer__note {
    max-width: 540px;
    margin: 18px auto;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Podstrony */

.sub-hero {
    padding: clamp(36px, 7vw, 64px) 0;
    background: linear-gradient(120deg, var(--bg-soft), var(--white));
    border-bottom: 1px solid rgba(0, 51, 153, 0.06);
}

.sub-hero--accent {
    background: linear-gradient(120deg, #fdecec, var(--bg-soft));
}

.sub-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--muted);
    margin: 0 0 10px;
}

.sub-hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    color: var(--pko-navy);
}

.sub-hero__lead {
    margin: 0;
    max-width: 640px;
    font-size: 1.05rem;
}

.metric-card__title {
    margin-top: 0;
}

.metrics {
    display: grid;
    gap: 14px;
}

.metrics dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.metrics dd {
    margin: 4px 0 0;
    font-weight: 600;
}

.practical-inline h2 {
    margin-top: 0;
}

.creators .creator-card h3 {
    margin-top: 0;
    color: var(--pko-navy);
}

/* Wejściówka */

.page-ticket {
    background: var(--bg-soft);
}

.ticket-shell {
    width: min(480px, calc(100% - 32px));
    margin: 24px auto 48px;
}

.ticket-brand {
    margin-bottom: 18px;
}

.ticket-minihero {
    height: 72px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--pko-navy), #1e4fbf);
}

.ticket-card {
    padding: clamp(22px, 5vw, 32px);
}

.ticket-title {
    margin: 0 0 10px;
    font-size: 1.45rem;
}

.ticket-meta {
    margin: 0 0 6px;
    font-weight: 600;
}

.ticket-meta__sep {
    opacity: 0.5;
    padding: 0 6px;
}

.ticket-place {
    margin: 0 0 20px;
    color: var(--muted);
}

.ticket-qr {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

.ticket-qr svg {
    max-width: min(280px, 80vw);
    height: auto;
    border-radius: 12px;
    background: var(--white);
    padding: 12px;
}

.ticket-qr--fallback {
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.ticket-number-label {
    margin: 18px 0 4px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.ticket-number {
    margin: 0 0 14px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.ticket-note {
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: var(--muted);
}

.ticket-note--strong {
    font-weight: 700;
    color: var(--ink);
}

/* Admin */

.admin-body {
    background: var(--bg-soft);
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login__card {
    width: min(420px, 100%);
    padding: 32px;
}

.admin-login__card h1 {
    margin-top: 0;
}

.admin-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 720px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

.admin-stat {
    padding: 18px 20px;
}

.admin-stat h2 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}

.admin-stat__num {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--pko-navy);
}

.admin-section {
    padding: 22px 24px;
    margin-bottom: 18px;
}

.admin-section h2 {
    margin-top: 0;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 51, 153, 0.08);
    text-align: left;
}

.admin-progress {
    height: 8px;
    background: #e4eaf4;
    border-radius: 999px;
    overflow: hidden;
}

.admin-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--pko-navy), var(--pko-red-alt));
}

.admin-inline-form {
    display: inline;
}

.admin-row-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.admin-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.admin-input {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 51, 153, 0.18);
    font-family: inherit;
}

.admin-input--wide {
    min-width: min(420px, 100%);
    flex: 1;
}

.admin-help {
    font-size: 0.9rem;
    color: var(--muted);
}

.admin-danger-zone {
    border: 1px dashed rgba(139, 41, 66, 0.35);
}

.admin-foot {
    text-align: center;
    margin-top: 28px;
}

.admin-foot a {
    color: var(--pko-navy);
    font-weight: 600;
}

.ticket-message--error {
    margin: 0 0 14px;
}