/* ============================================
   WIZERUNEK W PIGUŁCE — Landing Page
   v0.3 — paleta brand (#001eaa + #efa218), single body gradient,
   hero/final CTA boxed 1200px, light theme dla treści.
   ============================================ */

/* ============================================
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
    /* Brand colors */
    --color-navy:           #001eaa;   /* primary granat brandowy */
    --color-navy-deep:      #00146e;   /* ciemniejszy granat (gradient/glow) */
    --color-navy-light:     #2a44c4;   /* jaśniejszy do akcentów */

    --color-yellow:         #efa218;   /* primary żółty brandowy */
    --color-yellow-bright:  #ffb83a;   /* hover */
    --color-yellow-deep:    #c98410;   /* aktywny / shadow base */

    /* Neutral palette */
    --color-white:          #ffffff;
    --color-warm-gray:      #e9e3d3;   /* tło góry strony (warm grey) */
    --color-paper:          #f7f3e6;   /* tło dołu strony (paper) */
    --color-cream:          #faf6ea;
    --color-text:           #16162a;
    --color-text-muted:     #555567;
    --color-line:           rgba(0, 30, 170, 0.10);

    /* Typography */
    --font-display:         'Zalando Sans Expanded', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-sans:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Sizes */
    --container-max:        1200px;
    --container-narrow:     1080px;

    /* Spacing */
    --space-section:        clamp(54px, 8vw, 75px);
    --space-section-sm:     clamp(38px, 5vw, 60px);

    /* Radii */
    --radius-box:           2.5rem;    /* duże boksy hero/final CTA */
    --radius-block:         2rem;      /* karty główne */
    --radius-card:          1.5rem;    /* karty wewnętrzne */
    --radius-btn:           999px;     /* pełne zaokrąglenie buttonów */
    --radius-sm:            0.75rem;

    /* Shadow — tylko buttony na hover (boxy/karty bez cienia, czysty border) */
    --shadow-btn-hover:     0 16px 20px -5px rgba(0, 0, 0, 0.20);

    /* Transitions */
    --transition-base:      280ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:      600ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-hover:     all 350ms ease-in;
    --transition-border:    border-color 350ms ease-in;
}

/* ============================================
   2. RESET + BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    /* Bazowy bg body = tło stopki (ona jest pod treścią, .page-content się odsłania). */
    background: var(--color-paper);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Główna treść – z gradientem, na własnej warstwie ponad stopką.
   Stopka jest fixed na dole, .page-content ma margin-bottom = wysokość stopki,
   więc przy dojechaniu na koniec strony stopka odsłania się "spod" treści. */
.page-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--color-warm-gray) 0%, var(--color-paper) 100%);
    margin-bottom: var(--footer-h, 320px);
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

h1, h2, h3, h4, .btn, .eyebrow, .countdown-value, .countdown-label, .price-value,
.ticket-name, .card-index, .agenda-step, .big-number, .modal-title,
.modal-package-name, .nav-cta {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* text-wrap: balance — równoważne łamanie linii w nagłówkach i wprowadzeniach.
   Dla dłuższych akapitów lepsze jest "pretty" (Chrome 117+), które dba o sieroty. */
h1, h2, h3, .section-sub, .hero-title-small, .hero-lede,
.final-cta-sub, .speaker-name, .speaker-role,
.perspective-block h3, .manifesto-closing, .big-text {
    text-wrap: balance;
}

p, .manifesto-content p, .speaker-desc, .agenda-card p,
.audience-card p, .faq-answer p {
    text-wrap: pretty;
}

::selection {
    background: var(--color-yellow);
    color: var(--color-navy);
}

/* ============================================
   3. LAYOUT — Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.container.narrow {
    max-width: var(--container-narrow);
}

.section {
    position: relative;
    padding: var(--space-section) 0;
}

/* ============================================
   4. TYPOGRAPHY HELPERS
   ============================================ */
.text-accent {
    color: var(--color-yellow);
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-yellow);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 1.25rem;
    color: var(--color-navy);
}

.section-sub {
    font-size: clamp(1.02rem, 1.3vw, 1.2rem);
    color: var(--color-text-muted);
    max-width: 880px;
    margin: 0 auto;
}

.section-sub-strong { color: var(--color-text); }

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

/* ============================================
   5. BUTTONS — pełne zaokrąglenie; hover = translate -2px + shadow
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: var(--radius-btn);
    /* Pojedyncza deklaracja na bazie — odpala się w obu kierunkach (hover in / out) */
    transition: var(--transition-hover);
    text-align: center;
    line-height: 1.2;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-display);
    will-change: transform, box-shadow;
}

.btn:hover {
    transform: translateY(0px);
    box-shadow: var(--shadow-btn-hover);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-btn-hover);
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-navy);
}

.btn-primary:hover {
    background: var(--color-yellow-bright);
}

.btn-primary:active {
    background: var(--color-yellow-deep);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm  { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg  { padding: 17px 34px; font-size: 1.05rem; }
.btn-xl  { padding: 22px 44px; font-size: 1.15rem; }
.btn-block { width: 100%; }

/* ============================================
   6. SITE HEADER (NAV)
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background-color var(--transition-base), padding var(--transition-base),
                border-color var(--transition-base);
    background: rgba(233, 227, 211, 0.82);
}

.site-header.scrolled {
    background: rgba(233, 227, 211, 0.82);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
}

.logo-mark img {
    height: 65px;
    width: auto;
    display: block;
	margin-top:10px;
	transition:ease-in-out all 0.4s
}

.main-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 24px;
}

.main-nav a {
    color: var(--color-navy);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    font-family: var(--font-display);
}

.main-nav a:hover { color: var(--color-yellow-deep); }

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.main-nav a:hover::after { transform: scaleX(1); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
	margin-top:-6px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: all var(--transition-base);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-warm-gray);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform var(--transition-base);
        margin: 0;
        border-bottom: 1px solid var(--color-line);
    }
    .main-nav.open { transform: translateY(0); }
    .mobile-toggle { display: flex; }
    .nav-cta { display: none; }
}

/* ============================================
   7. HERO — boxed (max 1200px, navy bg, rounded, corner glows)
   ============================================ */
.section-hero-wrap {
    padding-top: 100px;        /* miejsce na fixed header */
    padding-bottom: var(--space-section-sm);
}

.hero-box {
  position: relative;
  background-image: url('../assets/gfx/bg_lp.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: var(--color-white);
  border-radius: var(--radius-box);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
  overflow: hidden;
  isolation: isolate;
  margin-left: -90px;
  margin-right: -90px;
  margin-top: 20px;
  background-color: #00022b;
}

.hero-box-final {
  background-image: url('../assets/gfx/bg_footer.jpg');
}

/* Żółte rozbłyski w narożnikach hero/final cta — wewnątrz pudła, nie wychodzą poza */
.corner-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(239, 162, 24, 0.55) 0%, rgba(239, 162, 24, 0) 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
}

.corner-glow-tl { top: -160px; left: -160px; }
.corner-glow-tr { top: -160px; right: -160px; }
.corner-glow-bl { bottom: -160px; left: -160px; }
.corner-glow-br { bottom: -160px; right: -160px; }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.5fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 162, 24, 0.12);
    color: var(--color-yellow);
    border: 1px solid rgba(239, 162, 24, 0.35);
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-yellow);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 3.0rem);
    font-weight: 800;
    line-height: 1.04;
    margin-bottom: 24px;
    letter-spacing: 0em;
    color: var(--color-white);
}

.hero-title-small {
    display: block;
    font-size: 0.55em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

.hero-lede {
    font-size: clamp(0.8rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
	line-height:1.4;
    max-width: 540px;
}

@media (max-width: 960px) and (min-width: 641px) {
    .hero-lede, .hero-facts, .countdown, .hero-title { margin-left: 0px; margin-right: auto; }
	.countdown { margin-left: auto; margin-right: auto; }
	.hero-title { max-width: 70%;}
}

.hero-facts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-facts li {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.92);
    padding-left: 18px;
    position: relative;
}

.hero-facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-yellow);
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 540px;
  margin-bottom: 45px;
  padding: 18px 16px;
  background: rgba(0, 30, 170, 0.33);
  border: 1px solid rgba(239, 162, 24, 0.49);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-value {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-family: var(--font-display);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 960px) {
    .hero-actions { justify-content: center; }
}

/* Hero visual — logografika organizatora w okręgu */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-circle {
    position: relative;
    width: min(440px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(239, 162, 24, 0.35);
}

.hero-photo-circle::before {
    content: '';
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 162, 24, 0.45) 0%, rgba(239, 162, 24, 0) 60%);
    z-index: -1;
}

.hero-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}

.scroll-hint span {
    display: block;
    width: 3px;
    height: 8px;
    background: var(--color-yellow);
    border-radius: 3px;
    margin: 6px auto 0;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%   { transform: translateY(0);    opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================
   8. MANIFESTO
   ============================================ */
.section-manifesto {
    text-align: center;
}

.manifesto-content {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: var(--color-text);
}

.manifesto-content p { margin-bottom: 1.4rem; }

.manifesto-content .lead {
    font-size: 1.15em;
    color: var(--color-text-muted);
}

.manifesto-perspectives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 135px 0 36px;
  text-align: center;
}

@media (max-width: 720px) {
    .manifesto-perspectives { grid-template-columns: 1fr; gap: 120px; }
}

.perspective-block {
    position: relative;
    background: var(--color-white);
    padding: 76px 28px 28px;       /* miejsce na awatar wystający z góry */
    border-radius: var(--radius-card);
    border: 1px solid var(--color-white);
    transition: var(--transition-hover);
}

.perspective-block:hover {
    border-color: var(--color-yellow);
}

.perspective-avatar {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 8px solid var(--color-warm-gray);
  background-color: var(--color-warm-gray);
  background-size: 120%;
  background-position: top center;
  background-repeat: no-repeat;
}

.perspective-avatar.dh {
    background-image: url('../assets/gfx/dh.jpg');
}

.perspective-avatar.mn {
    background-image: url('../assets/gfx/michal.jpg');
}

.perspective-block h3 {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.perspective-block p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin: 0;
}

.manifesto-closing {
    font-size: 1.25em;
    font-weight: 700;
    margin-top: 36px;
    color: var(--color-navy);
    font-family: var(--font-display);
}

.manifesto-closing.sub {
    font-size: 0.95em;
    font-weight: 500;
    margin-top: 36px;
    color: var(--color-navy);
    font-family: var(--font-display);
}

/* ============================================
   9. DLA KOGO
   ============================================ */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 720px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
    background: var(--color-white);
    padding: 36px 32px 32px;
    border-radius: var(--radius-block);
    border: 1px solid var(--color-white);
    transition: var(--transition-hover);
}

.audience-card:hover {
    border-color: var(--color-yellow);
}

.card-index {
  display: inline-block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-yellow);
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  opacity: 0.5;
  transition: opacity 350ms ease;
  margin-left: 10px;
}

.audience-card:hover .card-index { opacity: 1; }

.audience-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
	margin-top: 10px;
    color: var(--color-navy);
}

.audience-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* „Wydarzenie to butikowy format dla Ciebie, jeśli:" */
.audience-fit {
    margin-top: 22px;
    padding: 36px 32px;
    border-radius: var(--radius-block);
}

.audience-fit-lead {
    font-family: var(--font-display);
	font-weight:700;
	text-align: center;
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 40px;
}

.audience-fit-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
}

@media (max-width: 720px) { .audience-fit-list { grid-template-columns: 1fr; } }

.audience-fit-list li {
    position: relative;
    padding-left: 28px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.audience-fit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-yellow);
}

.audience-fit-list strong {
    color: var(--color-text);
}

/* ============================================
   10. AGENDA
   ============================================ */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 960px) { .agenda-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .agenda-grid { grid-template-columns: 1fr; } }

.agenda-card {
    background: var(--color-white);
    padding: 32px 28px 28px;
    border-radius: var(--radius-block);
    border: 1px solid var(--color-white);
    transition: var(--transition-hover);
}

.agenda-card:hover {
    border-color: var(--color-yellow);
}

.agenda-step {
    display: inline-block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-yellow);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    font-family: var(--font-display);
    opacity: 0.5;
    transition: opacity 350ms ease;
}

.agenda-card:hover .agenda-step { opacity: 1; }

.agenda-card h3 {
    font-size: 1.18rem;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.agenda-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.agenda-stations {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agenda-stations li {
    background: var(--color-cream);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-cream);
    font-size: 0.92rem;
    color: var(--color-text);
    transition: var(--transition-border);
}

.agenda-stations li:hover {
    border-color: var(--color-yellow);
}

.agenda-meta {
    margin-top: 36px;
    text-align: center;
}

.agenda-meta p {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    background: var(--color-white);
    padding: 16px 28px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--color-white);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.agenda-meta strong { color: var(--color-navy); font-weight: 700; }

/* ============================================
   11. WSPÓŁTWÓRCY (LIGHT THEME)
   ============================================ */
.cocreators-grid {
    display: grid;
    /* 6-kolumnowa siatka: każda karta zajmuje 2 kolumny → 3 karty na rząd */
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.cocreators-grid .speaker-card { grid-column: span 2; }

/* Układ 3+2: dolny rząd dwóch kart wyśrodkowany względem całości
   (bez zmiany rozmiaru kart) — karty zajmują kolumny 2–3 i 4–5 z sześciu. */
.cocreators-grid .speaker-card:nth-child(4) { grid-column: 2 / span 2; }
.cocreators-grid .speaker-card:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 960px) {
    .cocreators-grid { grid-template-columns: repeat(2, 1fr); }
    .cocreators-grid .speaker-card,
    .cocreators-grid .speaker-card:nth-child(4),
    .cocreators-grid .speaker-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 640px) {
    .cocreators-grid { grid-template-columns: 1fr; }
}

.speaker-card {
    background: var(--color-white);
    border: 1px solid var(--color-white);
    border-radius: var(--radius-block);
    overflow: hidden;
    transition: var(--transition-hover);
}

.speaker-card:hover {
    border-color: var(--color-yellow);
}

.speaker-photo {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--color-warm-gray);
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
	transition: ease-in-out all 0.6s;
}

.speaker-photo img:hover {
  transform: scale(1.05);
  transition: ease-in-out all 0.6s;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(239, 162, 24, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, var(--color-warm-gray) 0%, var(--color-cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-display);
}

.lin img {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 30px;
  top: -20px;
  border-radius: 50px;
  padding: 8px;
  background-color: #007ebb;
  box-shadow: 0px 5px 20px 5px rgba(0,0,0,0.6);
}

/* GLASS EFFECT — navy frosted u dołu zdjęcia (motyw z grafik social) */
.speaker-glass {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 28px 24px;
  background: rgba(0, 30, 170, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 0;
}

.speaker-name {
    font-size: 1.12rem;
    color: var(--color-white);
    margin-bottom: 2px;
}

.speaker-role {
    font-size: 0.82rem;
    color: var(--color-yellow);
    font-weight: 500;
    margin: 0;
    font-family: var(--font-sans);
}

.speaker-body {
    padding: 24px 28px 28px;
}

.speaker-desc {
    color: var(--color-text);
    font-size: 0.97rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.speaker-day {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-line);
    padding-top: 14px;
}

.speaker-day strong { color: var(--color-navy); font-weight: 700; }

/* ============================================
   11b. RELACJA Z EDYCJI 1.0 — karuzela zdjęć
   ============================================ */
.recap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recap-track {
    --recap-visible: 3;
    --recap-gap: 18px;

    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--recap-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-width: 0;
    border-radius: var(--radius-card);
}

.recap-track::-webkit-scrollbar { display: none; }

.recap-track:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 4px;
}

.recap-item {
    flex: 0 0 calc(
        (100% - (var(--recap-visible) - 1) * var(--recap-gap)) / var(--recap-visible)
    );
    scroll-snap-align: start;
    margin: 0;
    padding: 0;
}

.recap-item::before { content: none; }

/* Kafelek jako button */
.recap-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.recap-thumb:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 3px;
}

.recap-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-card);
    background: var(--color-warm-gray);
    transition: ease-in-out all 0.6s;
}

.recap-thumb:hover img,
.recap-thumb:focus-visible img { transform: scale(1.04); }

.recap-arrow {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--color-navy);
    background: var(--color-white);
    color: var(--color-navy);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-hover);
}

.recap-arrow:hover:not(:disabled) {
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: var(--shadow-btn-hover);
}

.recap-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.recap-arrow span { transform: translateY(-2px); }

@media (max-width: 960px) {
    .recap-track { --recap-visible: 2; }
}

@media (max-width: 720px) {
    .recap { gap: 8px; }
    .recap-track { --recap-visible: 1; --recap-gap: 12px; }
    .recap-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .recap-track { scroll-behavior: auto; }
    .recap-item img { transition: none; }
    .recap-thumb:hover img,
    .recap-thumb:focus-visible img { transform: none; }
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox[hidden] { display: none; }

.lightbox-dialog {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: min(1100px, 100%);
    width: 100%;
}

.lightbox-figure {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: var(--radius-card);
    background: var(--color-navy-deep);
}

.lightbox-counter {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
}

.lightbox-nav,
.lightbox-close {
    flex: 0 0 auto;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 20, 110, 0.55);
    color: var(--color-white);
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-hover);
}

.lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
}

.lightbox-nav span { transform: translateY(-2px); }

.lightbox-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    z-index: 2;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: var(--color-navy);
}

.lightbox-nav:focus-visible,
.lightbox-close:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 3px;
}

/* Ukrycie przy jednym zdjęciu */
.lightbox-nav[hidden] { display: none; }

/* Strzałki na zdjęciu */
@media (max-width: 720px) {
    .lightbox { padding: 12px; }
    .lightbox-dialog { display: block; }

    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        background: rgba(0, 20, 110, 0.72);
        z-index: 2;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 1.25rem; }
    .lightbox-figure img { max-height: 72vh; }
}

/* ============================================
   12. BUTIKOWO (LIGHT THEME)
   ============================================ */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 56px;
}

@media (max-width: 720px) { .comparison { grid-template-columns: 1fr; } }

.comparison-col {
    padding: 32px;
    border-radius: var(--radius-block);
    border: 1px solid var(--color-white);
    background: var(--color-white);
}

.comparison-good {
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-bright) 100%);
    border-color: transparent;
    color: var(--color-navy);
}

.comparison-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-line);
}

.comparison-good .comparison-head { border-bottom-color: rgba(0, 30, 170, 0.20); }

.comparison-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-navy);
    background: var(--color-cream);
    padding: 6px 14px;
    border-radius: var(--radius-btn);
    font-family: var(--font-display);
}

.comparison-good .comparison-tag {
    background: var(--color-navy);
    color: var(--color-yellow);
}

.comparison-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-col li {
    font-size: 1.05rem;
    padding-left: 22px;
    position: relative;
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 600;
}

.comparison-bad li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px;
    height: 2px;
    background: var(--color-text-muted);
}

.comparison-good li {
    color: var(--color-navy);
}

.comparison-good li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--color-navy);
    border-bottom: 3px solid var(--color-navy);
    transform: rotate(-45deg);
}

.boutique-closing {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.boutique-headline {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

@media (max-width: 480px) {
    .boutique-headline { flex-direction: column; gap: 8px; }
}

.big-number {
    font-size: clamp(4rem, 9vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-yellow);
    letter-spacing: -0.04em;
}

.big-text {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--color-navy);
    text-align: left;
    line-height: 1.1;
}

@media (max-width: 480px) { .big-text { text-align: center; } }

.boutique-closing p:last-child {
    font-size: 1.08rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   13. W CENIE — scrollowy timeline (linia + okręgi + karty)
   ============================================ */
.section-included .section-title { text-align: center; }

.included-list {
    --marker-size: 40px;
    --line-x: 19px;                  /* środek okręgu = środek linii */
    --fill-progress: 0;              /* 0–100, ustawiane z JS przez scroll */
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 64px;              /* miejsce pod linię i okręgi */
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Linia (tło — wytłumiona). Od samego początku do końca listy, niezależnie
   od markerów (markery są centrowane do kart, linia może wystawać). */
.included-list::before {
    content: '';
    position: absolute;
    left: var(--line-x);
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(239, 162, 24, 0.18);
    border-radius: 2px;
}

/* Wypełnienie linii — rośnie wraz ze scrollem */
.included-list::after {
    content: '';
    position: absolute;
    left: var(--line-x);
    top: 0;
    width: 2px;
    height: calc(var(--fill-progress) * 1%);
    max-height: 100%;
    background: var(--color-yellow);
    border-radius: 2px;
    transition: height 120ms linear;
}

.included-item {
    position: relative;
    display: flex;
    align-items: center;             /* karta centruje się w pionie z markerem */
    gap: 0;
    opacity: 0.45;
    transition: opacity 500ms ease-out;
}

.included-item.in-view {
    opacity: 1;
}

/* Okrąg z check-iem — wycentrowany w pionie względem karty */
.included-marker {
    position: absolute;
    left: calc(-1 * (var(--marker-size) + 24px));
    top: 50%;
    transform: translateY(-50%);
    width: var(--marker-size);
    height: var(--marker-size);
    border-radius: 50%;
    background: var(--color-cream);
    border: 2px solid rgba(239, 162, 24, 0.35);
    color: rgba(0, 30, 170, 0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-hover);
    z-index: 1;
}

.included-item.in-view .included-marker {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: var(--color-navy);
}

.included-check {
    width: 18px;
    height: 18px;
    transition: var(--transition-hover);
}

/* Karta po prawej */
.included-card {
    flex: 1;
    background: var(--color-white);
    padding: 18px 24px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-white);
    transition: var(--transition-hover);
}

.included-card:hover {
    border-color: var(--color-yellow);
}

.included-card strong {
    display: block;
    color: var(--color-navy);
    font-size: 1.02rem;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-weight: 700;
}

.included-card span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

@media (max-width: 560px) {
    .included-list { padding-left: 52px; }
    .included-list {
        --marker-size: 32px;
        --line-x: 15px;
    }
    .included-marker { left: calc(-1 * (var(--marker-size) + 18px)); }
    .included-card { padding: 14px 18px; }
}

/* ============================================
   14. BILETY (oba na takim samym poziomie)
   ============================================ */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
}

@media (max-width: 720px) { .tickets-grid { grid-template-columns: 1fr; } }

.ticket-card {
    background: var(--color-white);
    padding: 40px 36px;
    border-radius: var(--radius-block);
    border: 1px solid var(--color-white);
    text-align: center;
    transition: var(--transition-hover);
    display: flex;
    flex-direction: column;
}

.ticket-card:hover {
    border-color: var(--color-yellow);
}

.ticket-name {
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.ticket-price {
    display: flex;
    align-items: baseline;
	justify-content:center;
    gap: 6px;
    margin-bottom: 18px;
    font-weight: 800;
    color: var(--color-navy);
    font-family: var(--font-display);
}

.price-value {
    font-size: clamp(2.6rem, 4.5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-currency {
    font-size: 1.15rem;
    color: var(--color-navy);
}

.price-net {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-left: 6px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ticket-desc, .ticket-for {
    color: var(--color-text-muted);
    font-size: 0.97rem;
    margin-bottom: 12px;
}

.ticket-for { margin-bottom: 28px; flex-grow: 1; }

.tickets-note {
    text-align: center;
    margin-top: 28px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   15. FAQ
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* FAQ — własny accordion na <button> + aria-expanded (zamiast <details>,
   z którym walka z UA shadow-DOM się sypała). Animacja height = CSS Grid
   trick: grid-template-rows 0fr ↔ 1fr — czyste CSS, zero race-conditions. */
.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-white);
    overflow: hidden;
    transition: var(--transition-border);
}

.faq-item:has(.faq-summary[aria-expanded="true"]) {
    border-color: var(--color-yellow);
}

.faq-summary {
    width: 100%;
    cursor: pointer;
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.02rem;
    font-family: var(--font-display);
    background: none;
    border: none;
    text-align: left;
    line-height: 1.4;
}

.faq-icon {
    display: inline-flex;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--color-cream);
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-navy);
    transition: background-color 350ms ease-in, transform 350ms ease-in;
    flex-shrink: 0;
    font-family: var(--font-sans);
}

.faq-summary[aria-expanded="true"] .faq-icon {
    background: var(--color-yellow);
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 350ms ease-in;
}

.faq-summary[aria-expanded="true"] + .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
    padding: 4px 26px 0;
    color: var(--color-text-muted);
    line-height: 1.7;
    transition: padding-bottom 350ms ease-in;
}

.faq-summary[aria-expanded="true"] + .faq-answer .faq-answer-inner {
    padding-bottom: 22px;
}

.faq-list-inline {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.faq-list-inline li {
    padding-left: 16px;
    position: relative;
}

.faq-list-inline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-yellow);
}

.faq-list-inline strong { color: var(--color-navy); font-weight: 700; }

/* ============================================
   16. FINAL CTA — boxed (jak hero)
   ============================================ */
.section-final-cta {
    padding-top: var(--space-section-sm);
    padding-bottom: var(--space-section);
}

.hero-box-final {
    text-align: center;
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px);
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

h2.final-cta-title {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    margin-bottom: 18px;
    color: var(--color-white);
    line-height: 1.05;
    letter-spacing: 0em;
}

h4.final-cta-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    margin-bottom: 18px;
    line-height: 1.05;
    letter-spacing: 0em;
}

.final-cta-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
}

.final-cta-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    justify-content: center;
    margin-bottom: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 28px;
    border-radius: var(--radius-btn);
    color: var(--color-white);
    font-size: 0.93rem;
}

/* ============================================
   17. FOOTER
   ============================================ */
/* Stopka jest fixed na dole, .page-content ma margin-bottom równy jej wysokości.
   Przy dojechaniu na koniec dokumentu treść "zjeżdża" w górę i odsłania stopkę
   spod siebie — efekt parallax-reveal. JS ustawia --footer-h dla margin-bottom. */
.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: var(--color-navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 28px;
    border-top: 1px solid rgba(239, 162, 24, 0.25);
}

.footer-partners {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 36px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.partners-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.partners-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-yellow);
    font-weight: 700;
    font-family: var(--font-display);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.partner img {
  display: block;
  max-height: 45px;
}

.partner.lsse img  {
  display: block;
  max-height: 58px !important;
}

.partner.ff img  {
  display: block;
  max-height: 35px !important;
}

.partner.hero  img {
  display: block;
  max-height: 28px !important;
}

.partner.ckd img  {
  display: block;
  max-height: 37px !important;
}

.partner.ast img  {
  display: block;
  max-height: 25px !important;
}

.logo-placeholder {

    text-align: center;
}

.logo-placeholder.small {
    padding: 20px 12px;
    font-size: 0.78rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
}

.footer-nav { display: flex; gap: 22px; }
.footer-nav a:hover { color: var(--color-yellow); }
.footer-copy { color: rgba(255, 255, 255, 0.40); }

/* ============================================
   18. MODAL (wybór pakietu + iframe formularza)
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 110, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn var(--transition-base);
}

.modal-dialog {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-block);
    width: min(720px, 100%);
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalIn var(--transition-base);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 26px;
    border-bottom: 1px solid var(--color-line);
}

.modal-title {
    font-size: 1.2rem;
    color: var(--color-navy);
}

.modal-close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--color-cream);
    color: var(--color-navy);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-base);
    font-family: var(--font-sans);
}

.modal-close:hover {
    background: var(--color-yellow);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 26px 26px;
}

/* Wybór pakietu (krok 1) */
.modal-intro {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.modal-package-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 560px) { .modal-package-grid { grid-template-columns: 1fr; } }

.modal-package-option {
    text-align: left;
    padding: 22px 22px 24px;
    background: var(--color-cream);
    border: 2px solid transparent;
    border-radius: var(--radius-card);
    transition: var(--transition-hover);
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    font-family: var(--font-sans);
    color: var(--color-text);
}

.modal-package-option:hover {
    border-color: var(--color-yellow);
}

.modal-package-name {
    font-size: 1.15rem;
    color: var(--color-navy);
    font-weight: 700;
}

.modal-package-price {
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.modal-package-price strong {
    font-size: 1.4rem;
    color: var(--color-navy);
    margin-right: 4px;
    font-family: var(--font-display);
    font-weight: 800;
}

.modal-package-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Krok 2: iframe */
.modal-package-info {
    background: var(--color-cream);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-yellow);
    font-size: 0.93rem;
    color: var(--color-navy);
    margin-bottom: 14px;
}

.modal-back {
    /* display: inline-flex; */ display:none;
    align-items: center;
    gap: 4px;
    background: none;
    color: var(--color-navy);
    font-size: 0.88rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base);
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 600;
}

.modal-back:hover { background: var(--color-cream); }

.modal-iframe-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    min-height: 500px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-cream);
}

.modal-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Modale treściowe — Regulamin / Polityka prywatności */
.legal-content {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text);
}

.legal-content .legal-lead {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 18px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-navy);
    margin: 26px 0 10px;
}

.legal-content h3:first-of-type {
    margin-top: 8px;
}

.legal-content p {
    margin-bottom: 12px;
}

.legal-content .legal-list {
    list-style: none;
    margin: 0 0 12px;
    padding-left: 14px;
}

.legal-content .legal-list li {
    margin-bottom: 8px;
}

.legal-content .legal-list-bullet {
    list-style: disc;
    padding-left: 28px;
}

/* ============================================
   19. SCROLL ANIMATIONS (REVEAL)
   UWAGA: używamy CSS animation (a NIE transition) żeby nie nadpisywać
   właściwości `transition` na kartach (które potrzebują hoverowych
   transitionów border-color/transform/etc).
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}

.reveal.in-view {
    animation: revealIn 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes revealIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================
   20. UTILITY / RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 640px) {
    body { font-size: 16px; }
	 .main-nav {top: 0px;}
    .section-hero-wrap { padding-top: 120px; }
    .hero-box { padding: 36px 24px; margin: auto !important; }
    .countdown { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 10px; }
    .countdown-value { font-size: 1.4rem; }
    .agenda-meta p { flex-direction: column; gap: 10px; padding: 16px 20px; }
    .perspective-block { padding: 22px; }
    .audience-card, .agenda-card, .ticket-card { padding: 28px 24px; }
	.scrolled .logo-mark img {height: 55px; transition:ease-in-out all 0.4s}
	.scroll-hint {display:none;}
	.hero-title {padding-top: 240px;}
	#hero .hero-box {background-size: 220%; background-position: top right;}
	.perspective-block h3 {margin-top: 60px;}
	.footer-copy {text-align: center;}
	.hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
	
	.logo-placeholder.small {
  padding: 10px 12px;
  font-size: 0.78rem;
}

.modal-body {padding: 15px;}
.modal {padding: 10px;}
}

@media (min-width: 641px) and (max-width:1080px) {
    body { font-size: 16px; }
	 .main-nav {top: 0px;}
    .section-hero-wrap { padding-top: 120px; }
    .hero-box { padding: 36px 24px; margin: auto !important; }
	#hero .hero-box {background-size: 110%; background-position: top right;}
	.scroll-hint {display:none;}
}

/* ============================================
   21. EFEKTY SCROLLOWE (FX)
   Klasy podpinane przez js/main.js (initFx*).
   ============================================ */

/* — fx-ink / fx-fill: delikatny fade koloru granat → żółty po dojściu do
   środka ekranu. Zostaje żółty (.is-lit nie jest zdejmowane).
   fx-fill różni się tylko możliwością opóźnienia (data-fx-delay) w sekwencji. */
.fx-ink,
.fx-fill {
    color: var(--color-navy);
    transition: color 650ms ease;
}
.fx-ink.is-lit,
.fx-fill.is-lit { color: var(--color-yellow); }

/* — fx-drain: „poziom" pełnego granatu opada wraz ze scrollem (--drain: 0→100);
   część „opróżniona" zostaje granatem o 40% krycia (bez konturu). */
.fx-drain {
    --drain: 0;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to bottom,
        rgba(0, 30, 170, 0.15) calc(var(--drain) * 1%),
        var(--color-navy) calc(var(--drain) * 1%));
    -webkit-background-clip: text;
            background-clip: text;
}

/* — Sekwencyjne pojawianie listy: najpierw kropka (::before), potem treść.
   .is-in dokładane do kolejnych <li> ze staggerem w JS. */
.audience-fit-list[data-fx-seq] li::before {
    transform: scale(0);
    transform-origin: center;
    transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.audience-fit-list[data-fx-seq] li .fit-body {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 440ms ease, transform 440ms cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 200ms; /* treść tuż po kropce */
}
.audience-fit-list[data-fx-seq] li.is-in::before { transform: scale(1); }
.audience-fit-list[data-fx-seq] li.is-in .fit-body { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    /* Bez animacji — od razu stan docelowy. */
    .fx-ink, .fx-fill {
        color: var(--color-yellow);
        -webkit-text-fill-color: var(--color-yellow);
        background: none;
        transition: none;
    }
    .fx-drain {
        color: var(--color-navy);
        -webkit-text-fill-color: var(--color-navy);
        background: none;
    }
    .audience-fit-list[data-fx-seq] li::before { transform: scale(1); transition: none; }
    .audience-fit-list[data-fx-seq] li .fit-body { opacity: 1; transform: none; transition: none; }
}
