/* --- Poppins self-hosted (bylo: fonts.googleapis.com) ---------------------
   Sciagniete 2026-08-27 z Google Fonts (woff2, subsety latin + latin-ext -
   polskie znaki sa w latin-ext). Waga 300 byla ladowana, ale nieuzywana -
   wycieta. Zeby dolozyc wage/subset: pobierz css2 z naglowkiem Chrome UA
   i przenies wpisy jak ponizej. font-display: swap jak wczesniej. */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/poppins-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/poppins-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/poppins-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Zintegrowany Biznes 2026 - shared styles (single source of truth)
   Implements Figma "SYGEON (Copy)": desktop ZB_UI_aktualne (417:24, 1440px)
   + mobile Mob_UI_IIopcja (289:11, 402px).

   Design tokens (agreed 2026-08-24):
   - containers: full-bleed "bands" + boxed "cards" max 1272px @ 84px gutters
   - vertical rhythm: 32px desktop / 20px mobile
   - radii: sections 24, cards/tiles 16, inputs 12, buttons 10
   - purple #7B00FF reserved for interactive elements (buttons, input strokes)
   - tile grammar: purple→white text, light→purple, lavender→navy, navy→white
   ========================================================================== */

:root {
    --bg: #010110;
    --navy: #202134;
    --band-gray: #594F64;
    --card-gray: #423E46;
    --purple: #7B00FF;
    --lavender: #AF65FE;
    --light: #ECE8E8;
    --cyan: #84DCF5;
    --ink: #201534;
    --white: #ffffff;

    --grad-band: linear-gradient(145deg, #9c5b8f 0%, #7b57a8 48%, #4a5a8f 100%);
    --grad-form: linear-gradient(160deg, #8f5e94 0%, #6f5da8 52%, #5560a0 100%);
    --grad-footer: linear-gradient(150deg, #925b8e 0%, #6d5093 55%, #4a5a95 100%);
    --faq-bg: #0b0b1c;

    --r-section: 24px;
    --r-card: 16px;
    --r-input: 12px;
    --r-btn: 10px;

    --fs-title: clamp(28px, 3vw, 43px);       /* section titles  */
    --fs-sub: clamp(20px, 2.1vw, 30px);       /* sub-heads       */
    --fs-body-lg: clamp(16px, 1.65vw, 24px);  /* large body      */
    --fs-body: clamp(14px, 1.4vw, 20px);      /* body            */
    --fs-small: clamp(13px, 1.1vw, 16px);     /* captions/legal  */

    --gap-section: 32px;
    --gutter: 84px;
    --container: 1272px;
}

/* --- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; /* anchors clear the fixed black bar */ }

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-size: var(--fs-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Layout primitives ---------------------------------------------------- */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

@media (min-width: 1360px) {
    .container { padding-inline: 0; }
}

main > section, .band-section { margin-top: var(--gap-section); }

.card {
    border-radius: var(--r-section);
    overflow: hidden;
}

.section-title {
    font-size: var(--fs-title);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* --- Buttons (flat) ------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 36px;
    border: 0;
    border-radius: var(--r-btn);
    font-family: inherit;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--lavender); outline-offset: 2px; }

.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: #6a00da; }

.btn-light { background: var(--light); color: var(--purple); }
.btn-light:hover { background: #fff; }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--lavender);
}
.btn-outline:hover { background: rgba(175, 101, 254, .12); }

.btn-lg { min-height: 64px; padding: 14px 48px; }

/* --- Header (Radek+Gosia 2026-08-26: zawsze czarna belka, bez zaokrągleń,
   przyklejona od startu - desktop i mobile) --------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding-inline: 0;
}

.header-inner {
    max-width: none;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 14px 32px;
    border-radius: 0;
    background: rgba(1, 1, 16, .94);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.logo {
    display: inline-block;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.05;
    color: var(--white);
    text-decoration: none;
    letter-spacing: .5px;
}
.logo .l2 { font-weight: 400; display: block; }
.logo .accent-y { color: currentColor; } /* Gosia 2026-08-25: no blue "y" - follows logo color */
.logo .dot {
    display: inline-block; width: .5em; height: .5em;
    border-radius: 50%; background: var(--cyan); margin-left: 2px;
}

.main-nav {
    display: flex;
    gap: 48px;
    margin-left: auto;
    align-items: center;
}
.main-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
}
.main-nav a:hover { color: var(--lavender); }
.main-nav .menu-head, .main-nav .mi, .main-nav .m-only, .main-nav .menu-cta { display: none; }

.header-cta { min-height: 56px; font-size: 20px; }

.nav-toggle {
    display: none;
    background: none; border: 0; cursor: pointer;
    width: 40px; height: 40px;
    flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--white); margin-inline: auto; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: min(1113px, 100vh);
    border-radius: 0 0 var(--r-section) var(--r-section);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 24px 88px;
    /* Fiolet zostaje, ale brandowy #7B00FF zamiast różowej lawendy #BE81FF
       (2026-08-25: "za różowo" - a sam navy wyszedł za czarny). */
    background:
        linear-gradient(160deg, rgba(123, 0, 255, .38) 0%, rgba(60, 24, 130, .58) 50%, rgba(14, 11, 36, .82) 100%),
        url('media/figma/hero_bg.webp') center / cover no-repeat;
    background-color: #2a1160; /* fallback when the photo is slow/blocked */
}
/* Zakotwiczone zdjęcie POD CAŁĄ STRONĄ (Radek 2026-08-26) - desktop only,
   bo iOS Safari ma wieloletni bug z background-attachment: fixed.
   Body i hero mają to samo zdjęcie fixed/cover, więc pokrywają się co do
   piksela - hero pokazuje jaśniejszą (fioletową) wersję, przerwy między
   sekcjami ciemniejszą. */
/* Mobile: hero z lzejszym zdjeciem (960w zamiast 1920w) - ten sam gradient */
@media (max-width: 920px) {
    .hero {
        background:
            linear-gradient(160deg, rgba(123, 0, 255, .38) 0%, rgba(60, 24, 130, .58) 50%, rgba(14, 11, 36, .82) 100%),
            url('media/figma/hero_bg_960.webp') center / cover no-repeat;
        background-color: #2a1160;
    }
}
@media (min-width: 921px) {
    .hero { background-attachment: fixed; }
    body:not(.archive-body) {
        background:
            linear-gradient(rgba(2, 1, 12, .88), rgba(2, 1, 12, .88)),
            url('media/figma/hero_bg.webp') center / cover no-repeat fixed;
        background-color: var(--bg);
    }
}

.hero h1 {
    font-size: clamp(34px, 4.2vw, 60px);
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.25;
}
.hero h1 .w-semi { font-weight: 600; }
.hero h1 .w-cyan { color: var(--cyan); letter-spacing: .14em; }
.hero h1 .w-cyan-b { color: var(--cyan); font-weight: 700; letter-spacing: .14em; }

.hero-lead {
    margin-top: clamp(24px, 3vw, 30px);
    font-size: clamp(20px, 2.4vw, 35px);
    line-height: 1.5;
}
.hero-lead .accent { color: var(--cyan); font-weight: 600; }

.hero-sub {
    margin-top: clamp(20px, 2.6vw, 32px);
    font-size: clamp(15px, 1.75vw, 25px);
    line-height: 1.35;
}
.hero-sub .semi { font-weight: 600; }
.hero-sub .bold { font-weight: 700; }

.hero-audience {
    margin-top: 14px;
    font-size: clamp(12px, 1.35vw, 19px);
    opacity: .88;
    max-width: 1100px;
}

.hero-date {
    margin-top: clamp(30px, 4.2vw, 51px);
    font-size: clamp(20px, 3.2vw, 46px);
    font-weight: 600;
    letter-spacing: .02em;
}
.hero-date .city { color: var(--cyan); font-weight: 400; }

.hero-seats {
    margin-top: 16px;
    font-size: clamp(16px, 1.9vw, 28px);
    font-weight: 600;
    color: var(--cyan);
}

.hero .btn { margin-top: clamp(28px, 3.5vw, 44px); min-width: 280px; }

/* --- Czy warto? (checkerboard bento) --------------------------------------- */
/* Bands span the full 1440px Figma canvas, centered; content grid stays 1272 */
.worth-band, .who-band, .speakers-band {
    max-width: 1440px;
    margin-inline: auto;
}
.hero, .footer-card { max-width: 1440px; margin-inline: auto; }

.worth-band {
    background: var(--band-gray);
    border-radius: var(--r-section);
    padding: 46px 0 52px;
}
.worth-band .section-title { margin-bottom: 36px; }

/* Kafle celowo niższe niż w Figmie (Radek 2026-08-25: w skali 100% przytłaczały
   ilością i wielkością) - szachownica i kolory bez zmian, sam ciężar mniejszy. */
.worth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(132px, auto));
    gap: 18px;
}
.worth-grid .col-1a { grid-area: 1 / 1; }
.worth-grid .col-1b { grid-area: 2 / 1; }
.worth-grid .col-2a { grid-area: 1 / 2; }
.worth-grid .col-2b { grid-area: 2 / 2; }
.worth-grid .col-3  { grid-area: 1 / 3 / span 2 / 4; }

.tile {
    border-radius: var(--r-card);
    padding: 22px 26px;
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 600;
    line-height: 1.35;
    /* Radek 2026-08-26: tekst na środku kafla, lepsze wykorzystanie przestrzeni */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tile.t-purple { background: var(--purple); color: var(--white); }
.tile.t-light { background: var(--light); color: var(--purple); }
.tile.t-lavender { background: var(--lavender); color: var(--navy); }
.tile.t-navy { background: var(--navy); color: var(--white); }

/* --- Poprzednia Edycja ------------------------------------------------------ */
.prev-card {
    position: relative;
    border-radius: var(--r-section);
    overflow: hidden;
    padding: 48px 40px 56px;
    background:
        linear-gradient(rgba(14, 11, 36, .78), rgba(14, 11, 36, .78)),
        url('media/figma/prev_edition_bg.webp') center / cover no-repeat;
    background-color: #14102a;
}
.prev-card .section-title { margin-bottom: 40px; }

/* 1:1 port of the Figma composition: circle x/y/⌀ at the 1272 canvas,
   expressed in % + container-query units so the stage scales as one piece. */
.stats-stage {
    container-type: inline-size;
    position: relative;
    max-width: 1272px;
    margin-inline: auto;
    aspect-ratio: 1272 / 440;
}

.stat-bubble {
    position: absolute;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
/* Figma zigzag (Gosia 2026-08-25: keep the pronounced up/down rhythm) -
   x/y/⌀ from the design, y normalized so the highest circle sits at top 0 */
.stat-bubble.s-1 { left: 3.07%;  top: 8.6%;  width: 22.01%; }  /* ⌀280 @ x39,y155  */
.stat-bubble.s-2 { left: 33.10%; top: 4.8%;  width: 12.58%; }  /* ⌀160 @ x421,y138 */
.stat-bubble.s-3 { left: 44.10%; top: 42.5%; width: 16.20%; }  /* ⌀206 @ x561,y304 */
.stat-bubble.s-4 { left: 66.75%; top: 0;     width: 19.65%; }  /* ⌀250 @ x849,y117 */

.stat-bubble .num { font-weight: 700; line-height: 1; }
.stat-bubble .num small { font-size: .68em; font-weight: 700; } /* Figma: +/h glyphs smaller than digits */
.stat-bubble .lbl { margin-top: .4em; }
.stat-bubble.s-1 .num { font-size: 5.80cqi; }  .stat-bubble.s-1 .lbl { font-size: 2.12cqi; }
.stat-bubble.s-2 .num { font-size: 4.65cqi; }  .stat-bubble.s-2 .lbl { font-size: 1.26cqi; }
.stat-bubble.s-3 .num { font-size: 5.74cqi; }  .stat-bubble.s-3 .lbl { font-size: 1.57cqi; }
.stat-bubble.s-4 .num { font-size: 5.27cqi; }  .stat-bubble.s-4 .lbl { font-size: 1.50cqi; }

.prev-actions {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* --- Dla kogo? (gradient band + pill cloud) --------------------------------- */
.who-band {
    background: var(--grad-band);
    border-radius: var(--r-section);
    padding: 54px 32px 64px;
    text-align: center;
}
.who-lead {
    margin-top: 20px;
    font-size: clamp(14px, 1.55vw, 22px);
    opacity: .88;
}
.pill-rows {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
}
.pill-row {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Radek 2026-08-26: wyraźna oś środkowa - środkowa pigułka każdego rzędu
   stoi dokładnie na osi sekcji, boczne flankują ją symetrycznie */
@media (min-width: 921px) {
    .pill-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 22px;
        width: 100%;
        max-width: 1060px;
        margin-inline: auto;
    }
    .pill-row .pill:nth-child(1) { justify-self: end; }
    .pill-row .pill:nth-child(2) { justify-self: center; }
    .pill-row .pill:nth-child(3) { justify-self: start; }
}
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 10px 34px;
    border-radius: 999px;
    font-size: clamp(15px, 1.8vw, 26px);
    font-weight: 600;
    white-space: nowrap;
}
.pill.p-light { background: var(--light); color: var(--purple); }
.pill.p-navy { background: var(--navy); color: var(--white); border: 1px solid rgba(255,255,255,.14); }

/* --- Agenda (teaser) --------------------------------------------------------- */
.agenda-card {
    background: var(--navy);
    border-radius: var(--r-section);
    padding: 64px 40px 72px;
    text-align: center;
}
.agenda-teaser {
    margin-top: 44px;
    font-size: clamp(19px, 2.6vw, 38px);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.35;
    max-width: 1140px;
    margin-inline: auto;
}
.agenda-note {
    margin-top: 26px;
    font-size: clamp(14px, 1.55vw, 22px);
    opacity: .75;
}
.agenda-card .btn { margin-top: 34px; }
.agenda-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 48px);
    margin-top: 24px;
}
.agenda-carousel .agenda-teaser { margin-top: 0; min-height: 2.8em; display: flex; align-items: center; justify-content: center; }
.ag-arrow {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}
.ag-arrow:hover { background: var(--purple); }
.agenda-full { max-width: 1000px; margin: 36px auto 0; text-align: left; }
@media (max-width: 920px) {
    .ag-arrow { width: 48px; height: 48px; font-size: 16px; } /* Radek 2026-08-26: większe strzałki */
    .agenda-carousel .agenda-teaser { min-height: 3.4em; }
    .agenda-full { margin-top: 20px; }
}

/* --- Prelegenci --------------------------------------------------------------- */
.speakers-band {
    background: var(--grad-band);
    border-radius: var(--r-section);
    padding: 56px 32px 72px;
}
.speakers-band .section-title { margin-bottom: 48px; }

.speakers-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
/* Radek 2026-08-26: karty po trzy w rzędzie, bio tylko w pełnoekranowym
   podglądzie otwieranym tapnięciem karty.
   2026-09-01: flex zamiast siatki na sztywne 3 kolumny - przy liczbie
   prelegentów niepodzielnej przez 3 ostatni rząd wyśrodkuje się sam, zamiast
   zostawiać dziurę po prawej. Placeholder idzie pod nie osobnym paskiem
   (ten sam zabieg, co od początku na mobile); na desktopie przycina go
   max-width karty do 620 px i flex wyśrodkowuje - tak ma być, to nie jest
   niedokończony pasek na całą szerokość. */
.speakers-row .speaker-card {
    position: relative;
    width: calc((100% - 80px) / 3);
    max-width: 620px;
    aspect-ratio: 620 / 911;
    max-height: 911px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}
.speakers-row .speaker-card:focus-visible { outline: 3px solid var(--lavender); outline-offset: 2px; }
.speakers-row .speaker-card.placeholder {
    cursor: default;
    width: 100%;
    aspect-ratio: auto;
    min-height: 104px;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 600;
}
.speakers-row .speaker-card .caption {
    width: 100%;
    padding: 72px 24px 22px;
    background: linear-gradient(rgba(2, 2, 18, 0) 0%, rgba(2, 2, 18, .82) 34%, rgba(2, 2, 18, .95) 100%);
}

/* Pełnoekranowy podgląd prelegenta (Radek 2026-08-26: podmiana całego ekranu,
   wyraźny X, zamykanie też tapnięciem w zdjęcie) */
.speaker-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--faq-bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.speaker-modal .sm-close {
    position: fixed;
    top: 14px; right: 14px;
    z-index: 92;
    width: 48px; height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 22px;
    font-family: inherit;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.speaker-modal .sm-photo {
    width: 100%;
    max-height: 56vh;
    object-fit: cover;
    object-position: top center;
    cursor: pointer; /* tapnięcie w zdjęcie zamyka podgląd */
}
.speaker-modal .sm-body {
    max-width: 720px;
    margin-inline: auto;
    padding: 24px 20px calc(40px + env(safe-area-inset-bottom));
}
.speaker-modal[hidden] { display: none; }
.speaker-modal .sm-dialog { display: contents; } /* mobile: fullscreen, bez ramki */
/* Desktop (feedback 2026-08-26): nie rozciągamy zdjęcia na 1440px -
   wycentrowany dialog dwukolumnowy na przyciemnionym tle */
@media (min-width: 921px) {
    .speaker-modal {
        background: rgba(1, 1, 16, .85);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 48px;
    }
    .speaker-modal .sm-dialog {
        display: grid;
        grid-template-columns: minmax(300px, 380px) 1fr;
        width: min(960px, 100%);
        max-height: 86vh;
        background: var(--faq-bg);
        border-radius: var(--r-section);
        overflow: hidden;
        box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    }
    .speaker-modal .sm-photo { height: 100%; max-height: none; }
    .speaker-modal .sm-body { overflow-y: auto; max-width: none; padding: 36px 40px; }
}
.speaker-modal .sm-name { font-size: clamp(24px, 3vw, 34px); font-weight: 400; }
.speaker-modal .sm-name strong { font-weight: 600; }
.speaker-modal .sm-role { color: var(--cyan); font-weight: 600; margin-top: 4px; font-size: clamp(14px, 1.6vw, 20px); }
.speaker-modal .sm-role .org { color: var(--white); font-weight: 400; }
.speaker-modal .sm-bio { margin-top: 16px; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.55; }
.speaker-modal .speaker-li { margin-top: 20px; }
body.modal-open { overflow: hidden; }
.speakers-row .speaker-card h3 { font-size: clamp(20px, 2vw, 29px); font-weight: 400; }
.speakers-row .speaker-card h3 strong { font-weight: 600; }
.speakers-row .speaker-role { color: var(--cyan); font-weight: 600; font-size: clamp(13px, 1.5vw, 22px); margin-top: 2px; }
.speakers-row .speaker-role .org { color: var(--white); font-weight: 400; }
.speakers-row .speaker-bio { display: none; } /* bio żyje w podglądzie (modal) */
.speaker-li {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    margin-top: 14px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
}
.speaker-li:hover { color: var(--cyan); }
.speaker-li svg { width: 20px; height: 20px; }

/* --- Organizatorzy / Partnerzy -------------------------------------------------- */
.org-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.org-card {
    background: var(--card-gray);
    border-radius: var(--r-section);
    padding: 48px 40px 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}
.org-card .section-title { margin-bottom: 12px; }
/* klikalne loga (Radek 2026-08-26): <a> przejmuje szerokość, img wypełnia */
.org-card > a { display: block; width: min(400px, 80%); }
.org-card img { max-width: min(400px, 80%); height: auto; }
.org-card > a img { max-width: 100%; margin-inline: auto; }
.org-card p {
    font-size: clamp(13px, 1.4vw, 20px);
    line-height: 1.55;
    text-align: left;
    max-width: 532px;
}
.org-divider { width: 75%; height: 1px; background: rgba(255, 255, 255, .14); margin-block: 10px; }

.partner-inner {
    background: var(--navy);
    border-radius: var(--r-section);
    padding: 56px 40px;
    margin-top: 12px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
}
.partner-name { font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; }
/* logo partnera (prosba Oli z Cloudity, 2026-08-27): szersze niz loga organizatorow, bo proporcja ~5.8:1 */
.partner-logo { display: block; width: min(420px, 90%); }
/* ...ale logo o proporcji ~1.8:1 (Engave) na 420 px bylo by wyzsze niz zdjecie
   prelegenta - 240 px daje mu te sama mase optyczna, co pasek Liderow */
.partner-logo.is-compact { width: min(240px, 60%); }
/* ...a znak o proporcji ~1,4:1 (chmura Salesforce) trzeba zwezic jeszcze
   bardziej, zeby wyszedl na te sama WYSOKOSC, co Engave (~130 px): to zwarta
   plama, a nie wordmark, wiec przy rownej szerokosci przytlacza sasiadow */
.partner-logo.is-square { width: min(186px, 48%); }
/* drugi i kolejny kafel partnera: gap .org-card juz je rozdziela */
.partner-inner + .partner-inner { margin-top: 0; }
.partner-inner img { max-width: 100%; height: auto; display: block; margin-inline: auto; }
.partner-inner p { text-align: center; max-width: 480px; }

/* --- Miejsce ---------------------------------------------------------------------- */
.venue-section { padding-block: 48px 24px; }
.venue-section .section-title { margin-bottom: 56px; }
/* Radek 2026-08-26 v2: mapa jako prawa kolumna na wysokość CAŁEJ sekcji
   (adres + CTA + Dojazd po lewej) - koniec z wolnymi przestrzeniami */
.venue-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.618fr); /* golden split */
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "info map" "cta map" "dir map";
    gap: 0 48px;
}
.venue-info { grid-area: info; }
/* Radek 2026-08-26 v3: mapa mniejsza, z solidnymi marginesami, wyśrodkowana w kolumnie */
.venue-map  { grid-area: map; display: flex; align-items: center; justify-content: center; padding: 32px 0; }
.venue-map a { display: block; width: min(100%, 420px); }
.venue-cta  { grid-area: cta; justify-self: start; align-self: start; margin-top: 32px; }
.venue-name { font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; }
.venue-address { margin-top: 18px; font-size: clamp(15px, 1.65vw, 24px); line-height: 1.5; }
.venue-map img { border-radius: var(--r-section); width: 100%; height: auto; object-fit: cover; }
.venue-directions { grid-area: dir; margin-top: 44px; align-self: start; }
.venue-directions h3 { font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; margin-bottom: 20px; }
.venue-directions p { font-size: clamp(14px, 1.65vw, 24px); margin-bottom: 16px; max-width: 900px; }
.venue-directions strong { font-weight: 600; }

/* --- Formularz ----------------------------------------------------------------------- */
.form-card {
    background: var(--grad-form);
    border-radius: var(--r-section);
    padding: 64px 24px 48px;
}
.form-card .section-title { margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,.45); }

.reg-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.form-field { width: min(732px, 100%); }
.form-field input,
.form-field select {
    width: 100%;
    min-height: 64px;
    padding: 10px 20px;
    background: var(--navy);
    border: 1px solid var(--purple);
    border-radius: var(--r-input);
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input::placeholder { color: rgba(255, 255, 255, .55); }
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border: 2px solid var(--lavender);
    box-shadow: 0 0 0 3px rgba(175, 101, 254, .25);
}
.form-field input:user-invalid { border-color: #ff5470; }

/* honeypot - visually removed, still in the DOM for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consents {
    width: min(732px, 100%);
    background: var(--navy);
    border-radius: var(--r-section);
    padding: 32px 36px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.consent-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    cursor: pointer;
    font-size: var(--fs-small);
    line-height: 1.5;
}
.consent-row input[type="checkbox"] {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    margin-top: 2px;
    accent-color: var(--purple);
    border-radius: 6px;
    cursor: pointer;
}
.form-note { font-size: var(--fs-small); opacity: .85; line-height: 1.55; }
.form-note a, .consent-row a { color: var(--white); }

.turnstile-slot { min-height: 0; }
.turnstile-slot:not(:empty) { margin-top: 8px; }

.reg-form .btn { margin-top: 18px; min-width: 306px; }

.post-submit-note {
    margin-top: 4px;
    text-align: center;
    font-size: var(--fs-small);
    opacity: .85;
}

.form-message { min-height: 1.4em; text-align: center; font-weight: 600; }
.form-message.is-error { color: #ffd2da; }
.form-message.is-success { color: #d8ffd8; }

/* Success state (Figma: FORMULARZ - stan sukcesu) */
.form-success {
    width: min(732px, 100%);
    margin-inline: auto;
    background: var(--navy);
    border: 2px solid var(--purple);
    border-radius: var(--r-section);
    padding: 56px 40px;
    text-align: center;
}
.form-success .check {
    width: 76px; height: 76px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--purple);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 600;
}
.form-success h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 600; margin-bottom: 18px; }
.form-success p { font-size: clamp(14px, 1.4vw, 20px); opacity: .92; margin-bottom: 12px; }
.form-success .muted { font-size: var(--fs-small); opacity: .65; }

/* --- FAQ (accordion) --------------------------------------------------------------------- */
.faq-card {
    background: var(--faq-bg);
    border-radius: var(--r-section);
    padding: 64px clamp(24px, 7vw, 98px) 56px;
}
.faq-card .section-title { margin-bottom: 40px; }

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.faq-item:last-of-type { border-bottom: 0; }

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 4px;
    font-size: clamp(15px, 1.65vw, 24px);
    font-weight: 600;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.25em;
    font-weight: 400;
    opacity: .65;
    flex: 0 0 auto;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 4px 24px;
    font-size: clamp(13px, 1.25vw, 18px);
    line-height: 1.6;
    opacity: .92;
    max-width: 1000px;
}
.faq-card .btn { display: flex; margin: 40px auto 0; max-width: 306px; }

/* --- Footer --------------------------------------------------------------------------------- */
.site-footer { margin-top: var(--gap-section); }
.footer-card {
    background: var(--grad-footer);
    border-radius: var(--r-section) var(--r-section) 0 0;
    padding: 76px clamp(24px, 6vw, 84px) 48px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
}
.footer-contact h3 { font-size: clamp(20px, 2vw, 30px); font-weight: 600; line-height: 1.4; }
.footer-contact .sub { margin-top: 6px; }
.footer-contact > strong { display: block; margin-top: 28px; letter-spacing: .06em; }
.footer-contact a { display: inline-block; margin-top: 4px; }
.footer-follow { margin-top: 28px; }
.footer-follow h4 { font-weight: 600; margin-bottom: 12px; }
/* a.li-icon: specyficzność musi bić .footer-contact a (display: inline-block
   rozjeżdżało ikonę - feedback Radka 2026-08-26) */
a.li-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    margin-top: 0;
}
.li-icon svg { width: 24px; height: 24px; }
.li-icon:hover { color: var(--cyan); }
.footer-links { margin-top: 32px; }
.footer-links strong { display: block; margin-bottom: 8px; }
.footer-links a { display: block; margin-top: 6px; width: fit-content; }
.footer-logos { display: flex; flex-direction: column; align-items: flex-end; gap: 40px; }
.footer-logos a { display: block; width: min(360px, 70%); }
.footer-logos img { width: min(360px, 70%); height: auto; }
.footer-logos a img { width: 100%; }
.footer-bottom { margin-top: 48px; font-size: var(--fs-small); opacity: .85; }
.footer-bottom a { color: var(--white); }

/* --- Mobile sticky CTA bar -------------------------------------------------------------------- */
.mobile-cta-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(1, 1, 16, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .25s ease;
}
/* belka chowa się, gdy w kadrze jest inny "Zapisz się" albo formularz */
.mobile-cta-bar.is-suppressed { transform: translateY(110%); }
.mobile-cta-bar .btn { width: 100%; min-height: 52px; font-size: 17px; }

/* --- Cookie banner ------------------------------------------------------------------------------ */
.cookie-banner {
    position: fixed;
    left: 50%; bottom: 16px;
    transform: translateX(-50%);
    z-index: 70;
    width: min(720px, calc(100% - 32px));
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-card);
    padding: 26px 30px;
    font-size: 16px;
    line-height: 1.55;
}
.cookie-banner a { color: var(--cyan); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 12px; }
.btn-sm { min-height: 40px; padding: 6px 20px; font-size: 14px; }

/* ==========================================================================
   Mobile - Mob_UI_IIopcja (≤920px)
   ========================================================================== */
@media (max-width: 920px) {
    :root { --gap-section: 20px; }

    .container { padding-inline: 16px; }

    /* header: logo + burger; nav becomes overlay menu */
    html { scroll-padding-top: 64px; }
    .site-header { top: 0; padding-inline: 0; }
    .header-inner {
        border-radius: 0; /* Radek 2026-08-26: czarna belka bez zaokrągleń */
        padding: 10px 16px;
        gap: 16px;
    }
    .logo { font-size: 17px; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; margin-left: auto; }
    /* Figma Burger_Menu (219:550): right-side drawer, white item cards, icons */
    .main-nav {
        display: none;
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 86vw);
        z-index: 75;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
        padding: 74px 20px calc(24px + env(safe-area-inset-bottom));
        background: var(--grad-band);
        border-radius: 16px 0 0 16px;
        box-shadow: -12px 0 40px rgba(0, 0, 0, .35);
        overflow-y: auto;
    }
    .main-nav.is-open { display: flex; }
    .main-nav .menu-head {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--white);
        font-weight: 700;
        font-size: 16px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
        margin-bottom: 4px;
    }
    .main-nav .brand-mark {
        width: 26px; height: 26px;
        border-radius: 8px;
        background: var(--light);
        display: inline-block;
        position: relative;
    }
    .main-nav .brand-mark::after {
        content: '';
        position: absolute; inset: 7px;
        border-radius: 50%;
        background: var(--cyan);
    }
    .main-nav a:not(.menu-cta) {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fff;
        color: #111827;
        border-radius: 12px;
        padding: 12px 14px;
        font-size: 15px;
        font-weight: 600;
    }
    .main-nav .mi {
        display: inline-flex;
        width: 32px; height: 32px;
        flex: 0 0 auto;
        border-radius: 8px;
        background: #F3F4F6;
        position: relative;
    }
    .main-nav .mi::after {
        content: '';
        position: absolute; inset: 6px;
        background: var(--purple);
        -webkit-mask: var(--icon) center / contain no-repeat;
        mask: var(--icon) center / contain no-repeat;
    }
    .mi-cal  { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><rect x="3" y="5" width="18" height="16" rx="2"/><line x1="3" y1="10" x2="21" y2="10"/><line x1="8" y1="3" x2="8" y2="7"/><line x1="16" y1="3" x2="16" y2="7"/></svg>'); }
    .mi-img  { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="9" cy="10" r="2"/><path d="M4 19l6-6 4 4 3-3 3 3"/></svg>'); }
    .mi-usr  { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><circle cx="9" cy="8" r="3.5"/><path d="M2.5 20c.8-3.4 3.4-5 6.5-5s5.7 1.6 6.5 5"/><circle cx="17" cy="9" r="2.5"/><path d="M16 15c2.6.2 4.6 1.6 5.4 4.5"/></svg>'); }
    .mi-pin  { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><path d="M12 21s-7-6.1-7-11a7 7 0 1 1 14 0c0 4.9-7 11-7 11z"/><circle cx="12" cy="10" r="2.5"/></svg>'); }
    .mi-faq  { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.8.4-1.1 1-1.1 1.8"/><line x1="12" y1="17" x2="12" y2="17.01"/></svg>'); }
    .mi-mail { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M3 7l9 6 9-6"/></svg>'); }
    .main-nav .m-only { display: flex; }
    .main-nav .menu-head { display: flex; }
    .main-nav .mi { display: inline-flex; }
    .main-nav .menu-cta {
        display: flex;
        /* Radek 2026-08-31: CTA tuz pod ostatnia pozycja, nie przy dolnej krawedzi */
        margin-top: 22px;
        justify-content: center;
        background: var(--purple);
        color: var(--white);
        padding: 14px;
        border-radius: var(--r-btn);
        font-size: 16px;
        font-weight: 600;
    }
    /* dark scrim behind the drawer */
    .site-header.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 74;
        background: rgba(1, 1, 16, .55);
    }
    /* backdrop-filter on .header-inner creates a containing block that would
       trap the fixed overlay - drop it while the menu is open */
    .site-header.menu-open .header-inner {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: transparent;
    }
    .site-header.menu-open .nav-toggle { position: relative; z-index: 76; }
    .site-header.menu-open .nav-toggle span { background: var(--white); transition: transform .2s ease, opacity .2s ease; }
    .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


    .hero {
        min-height: 699px;
        padding: 120px 20px 64px;
        border-radius: 0 0 var(--r-card) var(--r-card);
    }
    .hero h1 { font-size: 27px; font-weight: 600; letter-spacing: .02em; }
    .hero-lead { font-size: 17px; }
    .hero-sub { font-size: 14px; }
    .hero-audience { font-size: 11px; }
    .hero-date { font-size: 21px; }
    .hero .btn { min-width: 246px; min-height: 48px; font-size: 15px; }

    .worth-band { padding: 36px 0 40px; border-radius: var(--r-card); }
    .worth-band .section-title { margin-bottom: 26px; }
    /* Radek 2026-08-26: wypełnić bez dziur - pary w dwóch kolumnach o równych
       wysokościach, piąty kafel na całą szerokość */
    .worth-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        grid-auto-rows: 1fr;
        gap: 12px;
    }
    .worth-grid .col-1a,
    .worth-grid .col-1b,
    .worth-grid .col-2a,
    .worth-grid .col-2b { grid-area: auto; }
    .worth-grid .col-3  { grid-area: auto; grid-column: 1 / -1; }
    .tile { padding: 16px; font-size: 14px; border-radius: var(--r-input); min-height: 76px; }

    .prev-card { padding: 30px 20px 36px; border-radius: var(--r-card); }
    .prev-card .section-title { margin-bottom: 14px; }
    /* mobile: proof strip instead of circles - fixed 2×2 so columns align (Gosia 2026-08-25) */
    .stats-stage {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        justify-items: start;
        gap: 6px 24px;
    }
    .stat-bubble {
        position: static;
        width: auto !important; aspect-ratio: auto;
        border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
        flex-direction: row; gap: 6px;
    }
    .stat-bubble .num { font-size: 15px !important; font-weight: 600; }
    .stat-bubble .num small { font-size: inherit; font-weight: inherit; }
    .stat-bubble .lbl { font-size: 12px !important; margin-top: 0; }
    .prev-actions { margin-top: 22px; gap: 14px; }
    .prev-actions .btn { min-height: 48px; font-size: 15px; }

    .who-band { padding: 34px 16px 40px; border-radius: var(--r-card); }
    .who-lead { font-size: 12px; margin-top: 10px; }
    .pill-rows { margin-top: 24px; gap: 12px; }
    .pill-row { gap: 10px; }
    .pill { min-height: 40px; padding: 6px 18px; font-size: 14px; }

    .agenda-card { padding: 36px 20px 40px; border-radius: var(--r-card); }
    .agenda-teaser { margin-top: 20px; font-size: 14px; }
    .agenda-note { font-size: 12px; margin-top: 12px; }
    .agenda-card .btn { margin-top: 22px; min-height: 48px; font-size: 15px; }

    .speakers-band { padding: 34px 16px 40px; border-radius: var(--r-card); }
    .speakers-band .section-title { margin-bottom: 24px; }
    /* mobile: prelegenci w parze, placeholder pod nimi na całą szerokość */
    .speakers-row { gap: 12px; }
    .speakers-row .speaker-card { width: calc(50% - 6px); aspect-ratio: 197 / 345; border-radius: var(--r-input); }
    .speakers-row .speaker-card.placeholder {
        width: 100%;
        min-height: 84px;
        font-size: 15px;
        padding: 18px;
    }
    .speakers-row .speaker-card .caption { padding: 40px 12px 14px; }
    .speakers-row .speaker-card h3 { font-size: 16px; }
    .speakers-row .speaker-role { font-size: 11px; }
    .speaker-li { width: 34px; height: 34px; margin-top: 10px; }
    .speaker-li svg { width: 17px; height: 17px; }

    .org-columns { grid-template-columns: 1fr; gap: 20px; }
    .org-card { padding: 26px 24px 30px; border-radius: var(--r-card); gap: 14px; }
    .org-card img { max-width: 180px; }
    .org-card > a { width: auto; max-width: 180px; }
    .org-card p { font-size: 12px; text-align: center; }
    .partner-inner { padding: 28px 20px; gap: 12px; border-radius: var(--r-card); }
    .partner-logo { width: auto; max-width: 240px; }
    .partner-logo.is-compact { width: auto; max-width: 160px; }
    .partner-logo.is-square { width: auto; max-width: 124px; }
    .partner-inner img { max-width: 100%; }

    /* Radek 2026-08-26: mała kwadratowa mapka obok adresu (dwie kolumny),
       CTA pod spodem na całą szerokość, Dojazd niżej */
    .venue-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        grid-template-areas: "info map" "cta cta" "dir dir";
        gap: 16px;
        align-items: center;
    }
    .venue-map { min-height: 0; width: clamp(110px, 34vw, 150px); padding: 0; }
    .venue-map img { aspect-ratio: 1; height: auto; object-fit: cover; border-radius: var(--r-card); }
    .venue-cta { justify-self: center; width: min(100%, 420px); margin-top: 4px; min-height: 48px; font-size: 15px; }
    .venue-directions { margin-top: 8px; }

    .form-card { padding: 30px 16px 28px; border-radius: var(--r-card); }
    .form-card .section-title { margin-bottom: 22px; }
    .reg-form { gap: 12px; }
    .form-field input, .form-field select { min-height: 55px; font-size: 15px; }
    .consents { padding: 20px 18px; gap: 14px; border-radius: var(--r-card); }
    .consent-row { font-size: 10.5px; }
    .form-note { font-size: 10px; }
    .reg-form .btn { min-width: 246px; min-height: 48px; font-size: 15px; }
    .post-submit-note { font-size: 10.5px; }
    .form-success { padding: 36px 22px; }
    .form-success .check { width: 56px; height: 56px; font-size: 28px; }

    .faq-card { padding: 40px 20px 36px; border-radius: var(--r-card); }
    .faq-item summary { font-size: 12px; padding: 12px 2px 14px; }
    .faq-item p { font-size: 11px; padding-bottom: 16px; }
    .faq-card .btn { max-width: 246px; min-height: 48px; font-size: 15px; }

    .footer-card { padding: 40px 20px 90px; border-radius: var(--r-card) var(--r-card) 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-logos { align-items: flex-start; gap: 24px; }
    .footer-logos img { width: 180px; }
    .footer-logos a { width: 180px; }
    .footer-bottom { margin-top: 28px; }

    .mobile-cta-bar { display: block; }
}

/* --- Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; animation: none; }
}

/* ==========================================================================
   Archive subpage (/2025/) - Figma POPRZEDNIA_EDYCJA_PODSTRONA_UI
   ========================================================================== */
.accent { color: var(--cyan); }

.section { margin-top: var(--gap-section); }
.section .section-title { margin-bottom: 32px; }
.section-cta { text-align: center; margin-block: 64px; } /* równy oddech nad i pod (Radek 2026-08-26) */

.panel {
    background: var(--navy);
    border-radius: var(--r-section);
    padding: clamp(24px, 4vw, 56px);
}

/* gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--navy);
    border-radius: var(--r-section);
    padding: clamp(16px, 3vw, 40px);
}
.gallery img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--r-card);
}

/* "Podczas poprzedniej edycji" bento (Figma ZB2025_w_liczbach) */
.bento-panel {
    background: var(--grad-band);
    border-radius: var(--r-section);
    padding: clamp(24px, 4vw, 56px);
}
.bento-panel .section-title { margin-bottom: 36px; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 20px;
}
.bento {
    background: var(--navy);
    border-radius: var(--r-card);
    padding: 28px 26px;
    font-size: clamp(15px, 1.5vw, 22px);
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento strong { font-weight: 700; }
.bento.b-hero {
    grid-row: span 2;
    background: var(--light);
    color: var(--purple);
    font-size: clamp(17px, 1.8vw, 26px);
    font-weight: 500;
}
.bento.b-tall { grid-row: span 1; }
.bento.b-accent { background: var(--lavender); color: var(--navy); }
.bento.b-purple { background: var(--purple); color: var(--white); }
.bento.b-wide { grid-column: span 2; }

@media (max-width: 920px) {
    /* Radek 2026-08-26: bez wolnych przestrzeni - hero i szerokie kafle na
       całą szerokość, reszta w równych parach */
    .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(84px, auto); gap: 10px; }
    .bento { padding: 16px 14px; font-size: 12px; }
    .bento.b-hero { grid-row: auto; grid-column: 1 / -1; }
    .bento.b-mwide { grid-column: 1 / -1; }
    .bento.b-wide { grid-column: 1 / -1; }
}

/* archive page: light bokeh backdrop with purple tint (Figma 70:706) */
.archive-body {
    background:
        linear-gradient(rgba(196, 150, 235, .50), rgba(150, 112, 205, .58)),
        url('media/figma/archive_bg.webp') center / cover no-repeat fixed;
    background-color: #8a6bb0;
}
.archive-first { padding-top: 130px; }

/* gallery: navy panel, featured-photo slider */
.gallery-panel {
    background: var(--navy);
    border-radius: var(--r-section);
    padding: clamp(20px, 3.5vw, 48px);
}
.gallery-panel .section-title { margin-bottom: 28px; }
.slider {
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: var(--r-card);
    overflow: hidden;
}
.slider { background: #0d0d1e; }
.slider .slide {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;   /* never crop - gallery mixes portrait and landscape */
    opacity: 0;
    transition: opacity .35s ease;
}
.slider .slide.is-active { opacity: 1; }
.slider-arrow {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border: 0; border-radius: 50%;
    background: rgba(1, 1, 16, .55);
    color: #fff; font-size: 26px; line-height: 1;
    cursor: pointer; z-index: 2;
}
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.slider-dots button {
    width: 10px; height: 10px; padding: 0;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
}
.slider-dots button.is-active { background: #fff; }

/* agenda: navy panel, stacked rows */
.agenda-archive-panel {
    background: var(--navy);
    border-radius: var(--r-section);
    padding: clamp(24px, 4vw, 64px) clamp(20px, 6vw, 98px);
}
.agenda-archive-panel .section-title { margin-bottom: 36px; }
.ag-row {
    display: flex; gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    align-items: baseline;
}
.ag-row:last-child { border-bottom: 0; }
.ag-time { flex: 0 0 74px; font-weight: 600; color: var(--lavender); font-size: clamp(14px, 1.4vw, 20px); }
.ag-title { font-size: clamp(14px, 1.5vw, 22px); line-height: 1.5; }
.ag-speaker { display: block; font-size: .8em; opacity: .7; }

/* recordings gate */
.recordings-panel {
    background: #554467;
    border-radius: var(--r-section);
    padding: clamp(28px, 4vw, 56px);
    text-align: center;
}
.recordings-sub { margin-top: 16px; font-size: clamp(14px, 1.55vw, 22px); opacity: .88; }
.recordings-form { margin-top: 28px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.recordings-form input {
    width: min(640px, 100%);
    min-height: 64px;
    padding: 10px 20px;
    background: var(--navy);
    border: 1px solid var(--purple);
    border-radius: var(--r-input);
    color: #fff; font-family: inherit; font-size: 16px;
}
.recordings-form input::placeholder { color: rgba(255, 255, 255, .55); }
.recordings-form .btn { min-height: 64px; }

.section-cta { text-align: center; }

/* archive logo variant: "Zintegrowany <span>Biznes 2025</span>" */
.logo > span:not(.accent-y):not(.dot) { font-weight: 400; display: block; }

@media (max-width: 920px) {
    .archive-first { padding-top: 96px; }
    .ag-row { gap: 12px; }
    .slider-arrow { width: 36px; height: 36px; font-size: 20px; }
    .recordings-form input { min-height: 52px; }
    .recordings-form .btn { min-height: 52px; width: 100%; }
}

/* --- Back to top (Figma: "Hop do góry") ------------------------------------ */
/* literal Figma element: light pill with the label */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 65;
    border: 0;
    border-radius: var(--r-btn);
    background: var(--light);
    color: var(--purple);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.back-to-top.is-visible { display: flex; }
.back-to-top:hover { background: #fff; }
@media (max-width: 920px) {
    /* mobile: arrow-only circle - the labeled pill covered content while scrolling (Gosia 2026-08-25) */
    .back-to-top {
        bottom: 78px; /* clear the sticky CTA bar */
        right: 14px;
        width: 44px; height: 44px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
        font-size: 0; /* hides "Hop do góry"; aria-label keeps it accessible */
    }
    .back-to-top span { font-size: 20px; }
}
.cookie-settings-link { opacity: .85; }

/* --- Strony prawne (2026-08-26: wspólny shell - czarna belka + karta + stopka) --- */
.legal-main { padding-top: 118px; }
.legal-card {
    max-width: 980px;
    margin-inline: auto;
    background: var(--faq-bg);
    border-radius: var(--r-section);
    padding: clamp(28px, 5vw, 64px);
}
.legal-card h1 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.legal-card h2 { font-size: clamp(19px, 1.9vw, 27px); font-weight: 600; margin: 34px 0 12px; }
.legal-card h3 { font-size: clamp(16px, 1.5vw, 21px); font-weight: 600; margin: 24px 0 10px; }
.legal-card p, .legal-card li { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.65; margin-bottom: 10px; }
.legal-card ul, .legal-card ol { padding-left: 24px; margin-bottom: 14px; }
/* Linki w prozie sa lawendowe, ale przyciski NIE: .legal-card a (0,1,1) wygrywalo
   z .btn-primary (0,1,0) i tekst CTA w artykule schodzil do 1.86:1 na fiolecie. */
.legal-card a:not(.btn) { color: var(--lavender); }
.legal-card .last-updated { opacity: .7; font-size: 14px; margin-bottom: 24px; }
.legal-card .admin-block {
    background: var(--navy);
    border-radius: var(--r-card);
    padding: 14px 18px;
    margin-bottom: 12px;
}
.legal-card .admin-block p { margin-bottom: 2px; }
@media (max-width: 920px) {
    .legal-main { padding-top: 78px; }
    .legal-card { border-radius: var(--r-card); }
}

/* --- Blog (2026-08-26: wpisy w Markdown przez PHP) --------------------------- */
.blog-title { margin-bottom: 8px; }
.blog-lead { text-align: center; opacity: .8; margin-bottom: 36px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--faq-bg);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--r-card);
    padding: 24px;
    text-decoration: none;
}
.blog-card:hover { border-color: var(--lavender); }
.blog-card h2 { font-size: 19px; font-weight: 600; line-height: 1.35; }
/* Karta jest <article>, wiec klikalny obszar robi rozciagniety link tytulu -
   dzieki temu badge kategorii i tagi moga byc osobnymi linkami (zagniezdzone
   <a> w <a> byloby niepoprawne). */
.blog-card h2 .blog-card-link { color: inherit; text-decoration: none; }
.blog-card h2 .blog-card-link::after {
    content: ""; position: absolute; inset: 0; border-radius: var(--r-card);
}
.blog-cat-badge {
    position: relative; z-index: 1; align-self: flex-start;
    font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--cyan); text-decoration: none;
}
.blog-cat-badge:hover { text-decoration: underline; }
.blog-card .blog-desc { font-size: 14px; line-height: 1.55; opacity: .85; flex: 1; }
.blog-card .blog-meta {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 13px; opacity: .7; margin-top: 4px;
}
.blog-card .blog-more { color: var(--lavender); font-weight: 600; opacity: 1; }
.blog-article img { border-radius: var(--r-card); margin: 18px 0; }
.blog-article .blog-back { margin-bottom: 18px; font-size: 14px; }
.blog-article .article-cta {
    background: var(--navy);
    border-radius: var(--r-card);
    padding: 24px 26px;
    margin: 26px 0;
}
.blog-article .article-cta h3 { margin-top: 0; }
.blog-article .article-cta .btn { margin-top: 8px; font-size: 16px; min-height: 48px; }

/* --- Blog: kategorie i tagi (2026-08-29) ------------------------------------- */
.blog-chips {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin: 0 0 28px; padding: 0;
}
.blog-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: var(--faq-bg);
    color: var(--light);
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.blog-chip:hover, .blog-chip:focus-visible { border-color: var(--lavender); }
.blog-chip.is-active { background: var(--purple); border-color: var(--purple); color: var(--white); }
.blog-chip span { font-size: 12px; opacity: .65; }
.blog-chip.is-active span { opacity: .85; }

.blog-filter { text-align: center; margin: -10px 0 26px; font-size: 14px; opacity: .85; }
.blog-filter a { color: var(--lavender); }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; margin: 0; }
.blog-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(175, 101, 254, .12);
    border: 1px solid rgba(175, 101, 254, .28);
    color: var(--lavender);
    font-size: 12px; line-height: 1.4; text-decoration: none;
}
.blog-tag:hover { background: rgba(175, 101, 254, .22); }
.blog-tag span { opacity: .6; }

.blog-tagcloud { margin-top: 48px; }
.blog-tagcloud h2 { font-size: 18px; text-align: center; margin-bottom: 14px; }
.blog-tagcloud .blog-tags { justify-content: center; }

.blog-article .article-tags {
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.blog-article .blog-back a { color: var(--lavender); }
/* FAQ we wpisie to ten sam rozwijany komponent co na stronie glownej (.faq-item).
   Korekta punktowa, bo .legal-card p (0,1,1) stoi w pliku PO .faq-item p przy tej
   samej specyficznosci i nadpisywalo typografie odpowiedzi. */
.blog-article .faq-item p {
    font-size: clamp(13px, 1.25vw, 18px);
    line-height: 1.6;
    margin-bottom: 0;
    padding-bottom: 0;
}
.blog-article .faq-item p:last-of-type { padding-bottom: 24px; }
.blog-article .table-wrap { overflow-x: auto; margin: 22px 0; }
.blog-article table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.blog-article th, .blog-article td {
    padding: 10px 14px; text-align: left; vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.blog-article th { font-weight: 600; color: var(--lavender); white-space: nowrap; }
.blog-article .last-updated .post-updated {
    margin-left: 10px; padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}
@media (max-width: 560px) {
    .blog-article .last-updated .post-updated {
        display: block; margin-left: 0; padding-left: 0; border-left: 0; margin-top: 4px;
    }
}

/* Pływająca ikonka ustawień cookies w lewym dolnym rogu (à la CookieHub -
   Radek 2026-08-26); otwiera baner tym samym mechanizmem co link w stopce */
.cookie-fab {
    position: fixed;
    left: 16px; bottom: 16px;
    z-index: 60;
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.cookie-fab:hover { color: var(--cyan); }
.cookie-fab svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
    .cookie-fab { left: 12px; bottom: 84px; width: 40px; height: 40px; } /* nad sticky CTA */
}

