/* =========================================================
   QuizTwist — arkusz stylów
   ========================================================= */

:root {
    --bg-main: #FFFFFF;
    --bg-alt: #F4F5F7;
    --cream: #FBF8F1;
    --navy-dark: #071636;
    --navy-card: #0f2f6c;
    --navy-light: #164296;
    --gold: #fbb603;
    --gold-hover: #ffc933;
    --gold-soft: rgba(251, 182, 3, 0.14);
    --text-main: #0f2f6c;
    --text-muted: #464E66;
    --text-light: #FFFFFF;
    --border-light: rgba(15, 47, 108, 0.12);
    --border-mid: rgba(15, 47, 108, 0.22);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 6px 18px rgba(15, 47, 108, 0.06);
    --shadow: 0 18px 40px rgba(15, 47, 108, 0.10);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s var(--ease);
    --nav-h: 80px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); overflow-x: clip; }

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-image:
        linear-gradient(rgba(15, 47, 108, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 47, 108, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
    color: var(--navy-card);
    line-height: 1.1;
}

h1 span, h2 span, h3 span, h4 span { color: var(--gold); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    background: var(--navy-card);
    color: var(--gold);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 2000;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Animacje wejścia ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.active { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 12px;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid var(--navy-card);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-card);
    box-shadow: 4px 4px 0 var(--navy-card);
}
.btn-gold:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy-card); }
.btn-gold:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy-card); }

.btn-ghost {
    background: var(--bg-main);
    color: var(--navy-card);
}
.btn-ghost:hover { background: var(--navy-card); color: var(--gold); }

.btn-navy {
    background: var(--navy-card);
    color: var(--gold);
    box-shadow: 4px 4px 0 var(--gold);
}
.btn-navy:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--gold); }

.btn-sm { padding: 11px 20px; font-size: 11px; }
.btn-block { width: 100%; }

.btn .arrow-r { transition: transform 0.2s var(--ease); }
.btn:hover .arrow-r { transform: translateX(4px); }

/* ---------- Nawigacja ---------- */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: height 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
    --nav-h: 66px;
    border-bottom-color: var(--border-light);
    box-shadow: 0 6px 24px rgba(15, 47, 108, 0.06);
}

.logo { display: inline-flex; align-items: center; position: relative; z-index: 1002; }
.logo-img { height: 42px; width: auto; transition: transform 0.3s var(--ease), height 0.3s var(--ease); }
.site-nav.scrolled .logo-img { height: 36px; }
.logo:hover .logo-img { transform: rotate(-2deg) scale(1.04); }

.nav-right { display: flex; align-items: center; gap: 36px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy-card);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 2px;
    width: 0;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after,
.dropdown:hover > .nav-link::after,
.dropdown.open > .nav-link::after { width: 100%; }

.chev {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s var(--ease);
}
.dropdown:hover .chev, .dropdown.open .chev { transform: rotate(-135deg) translate(-2px, 0); }

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 290px;
    list-style: none;
    padding: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
/* niewidzialny „mostek”, żeby menu nie znikało przy zjeżdżaniu myszką */
.dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu a, .dropdown-menu .is-soon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    color: var(--navy-card);
    transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover { background: var(--gold-soft); }
.dropdown-menu a.is-active { background: var(--bg-alt); }
.dropdown-menu .is-soon { color: var(--text-muted); cursor: default; }

.tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Unbounded', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--navy-card);
    color: var(--gold);
    white-space: nowrap;
}
.tag-gold { background: var(--gold); color: var(--navy-card); }

.mobile-toggle {
    display: none;
    position: relative;
    z-index: 1002;
    width: 46px;
    height: 46px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--navy-card);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Sekcje ---------- */
section {
    padding: 96px 5%;
    max-width: 1500px;
    margin: 0 auto;
}

.section-header { margin-bottom: 44px; display: flex; flex-direction: column; gap: 14px; }
.section-header.center { text-align: center; align-items: center; }
.section-header h2 { font-size: clamp(26px, 3vw, 42px); line-height: 1.15; max-width: 980px; text-wrap: balance; }
.section-header .lead {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--navy-card);
}
.eyebrow::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    min-height: min(100vh, 920px);
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 40px;
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.hero h1 {
    font-size: clamp(40px, 6vw, 92px);
    line-height: 0.98;
    margin: 22px 0 28px;
    letter-spacing: -0.5px;
}

.hero-lead {
    font-size: clamp(17px, 1.6vw, 21px);
    color: var(--text-muted);
    max-width: 640px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 38px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 42px;
    list-style: none;
}
.hero-facts li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy-card);
}
.hero-facts li::before { content: '✦'; color: var(--gold); font-size: 16px; }

/* Wachlarz kart w hero */
.hero-cards {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-cards::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
}
.hero-cards .twist-card {
    position: absolute;
    width: 260px;
    transition: transform 0.6s var(--ease);
}
.hero-cards .twist-card:nth-child(1) { transform: translate(-120px, 30px) rotate(-14deg); }
.hero-cards .twist-card:nth-child(2) { transform: translate(120px, 30px) rotate(12deg); }
.hero-cards .twist-card:nth-child(3) { transform: translate(0, -10px) rotate(-2deg); z-index: 2; box-shadow: 0 30px 60px rgba(15, 47, 108, 0.22); }
.hero-cards:hover .twist-card:nth-child(1) { transform: translate(-150px, 40px) rotate(-18deg); }
.hero-cards:hover .twist-card:nth-child(2) { transform: translate(150px, 40px) rotate(16deg); }
.hero-cards:hover .twist-card:nth-child(3) { transform: translate(0, -20px) rotate(0deg); }

/* Hero podstron */
.page-hero {
    padding-top: calc(var(--nav-h) + 80px);
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.page-hero h1 { font-size: clamp(32px, 4.2vw, 60px); text-wrap: balance; line-height: 1; margin: 20px 0 26px; max-width: 1100px; }
.page-hero .hero-lead { max-width: 820px; }
.page-hero.center { align-items: center; text-align: center; }

/* ---------- Pasek (marquee) ---------- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--navy-card);
    color: var(--gold);
    padding: 16px 0;
    transform: rotate(-1.5deg) scale(1.03);
    position: relative;
    z-index: 5;
    margin: 10px 0 40px;
}
.marquee-2 { transform: rotate(1.2deg) scale(1.03); background: var(--gold); color: var(--navy-card); }
.marquee-2 .separator { color: var(--navy-card); }

.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    animation: scrollMarquee 90s linear infinite;
}
.marquee-content.reverse { animation-direction: reverse; }
.marquee-container:hover .marquee-content { animation-play-state: paused; }
.separator { margin: 0 40px; color: var(--gold); }

@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Formaty (bento) ---------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 20px;
}

.bento-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-alt);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
a.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.bento-card > * { position: relative; z-index: 2; }

.bento-card h3 { font-size: clamp(22px, 2.2vw, 30px); }
.bento-card p { color: var(--text-muted); font-size: 16px; font-weight: 500; line-height: 1.6; max-width: 560px; }
.bento-card .tag { align-self: flex-start; margin-bottom: auto; }

.card-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy-card);
}
.card-hint::after { content: '→'; transition: transform 0.3s var(--ease); }
a.bento-card:hover .card-hint::after { transform: translateX(6px); }

.card-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    background: var(--navy-card);
    border: none;
}
.bento-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; flex: none; }
.bento-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
a.card-large:hover .bento-media img { transform: scale(1.04); }
.bento-card .bento-media .tag { position: absolute; top: 18px; left: 18px; margin: 0; }
.bento-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 30px 36px 34px; }
.card-large h3 { color: var(--text-light); font-size: clamp(24px, 2.4vw, 34px); }
.card-large p { color: rgba(255, 255, 255, 0.88); font-size: 16px; }
.card-large .card-hint { color: var(--gold); }

.card-wide { grid-column: span 2; background: var(--bg-main); }

.card-soon {
    background: var(--navy-card);
    border-color: var(--navy-card);
    justify-content: center;
    align-items: center;
    text-align: center;
}
.card-soon h3 { color: var(--text-light); font-size: 22px; }
.soon-stamp {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 22px;
    border: 3px solid var(--gold);
    border-radius: 10px;
    color: var(--gold);
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transform: rotate(-6deg);
}

.card-gold {
    background: var(--gold);
    border-color: var(--gold);
    justify-content: center;
    align-items: center;
    text-align: center;
}
.card-gold p { color: var(--navy-card); font-weight: 700; }
a.card-gold:hover { border-color: var(--navy-card); }

/* ---------- Eventy ---------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 28px;
    min-height: 210px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.event-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.event-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gold-soft);
    color: var(--navy-card);
}
.event-icon svg { width: 26px; height: 26px; }
.event-card h3 { font-size: 17px; }
.event-card p { color: var(--text-muted); font-size: 15px; font-weight: 500; line-height: 1.55; flex-grow: 1; }
.event-card .card-hint { margin-top: 0; font-size: 12px; }

.event-summary {
    text-align: center;
    font-size: clamp(22px, 3.4vw, 40px);
    line-height: 1.2;
}

/* ---------- Split (tekst + zdjęcie) ---------- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split-text h2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.15; margin-bottom: 22px; text-wrap: balance; }
.split-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.75;
    font-weight: 500;
}

.photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: 0 24px 50px rgba(15, 47, 108, 0.16);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--navy-card);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--navy-card);
}

.bullet-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.bullet-list li {
    position: relative;
    padding-left: 34px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--navy-card);
}
.bullet-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--gold);
    font-size: 20px;
}

/* ---------- Dlaczego warto ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-box {
    position: relative;
    padding: 40px 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.feature-box:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.feature-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 18px;
    display: block;
}
.feature-box h3 { font-size: 20px; margin-bottom: 14px; }
.feature-box p { color: var(--text-muted); font-size: 16px; font-weight: 500; line-height: 1.65; }
.feature-box .card-hint { margin-top: 18px; font-size: 12px; }

.feature-box.is-featured { background: var(--navy-card); border-color: var(--navy-card); }
.feature-box.is-featured h3 { color: var(--gold); }
.feature-box.is-featured p { color: rgba(255, 255, 255, 0.85); }
.feature-box.is-featured .card-hint { color: var(--gold); }

/* ---------- Proces ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--border-mid);
}

.step-card { position: relative; text-align: center; padding: 0 10px; }
.step-number {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-card);
    border: 4px solid var(--bg-main);
    box-shadow: 0 0 0 2px var(--navy-card);
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 900;
}
.step-card h3 { font-size: 16px; margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 15px; font-weight: 500; line-height: 1.6; }

/* ---------- CTA ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
    width: 90%;
    max-width: 1400px;
    margin: 40px auto 20px;
    padding: 90px 6%;
    border-radius: 28px;
    background: var(--navy-card);
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    right: -200px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 182, 3, 0.25) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section > * { position: relative; z-index: 2; }
.cta-section h2 { color: var(--text-light); font-size: clamp(30px, 5vw, 62px); margin-bottom: 20px; }
.cta-section p { color: rgba(255, 255, 255, 0.82); font-size: 19px; margin: 0 auto 40px; max-width: 640px; font-weight: 500; }

/* ---------- Karty Twistów ---------- */
.twist-card {
    container-type: inline-size;
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 7;
    background: var(--cream);
    border-radius: 14px;
    padding: 0;
    box-shadow: var(--shadow);
    color: var(--navy-card);
    user-select: none;
}
.twist-card-inner {
    margin: 4.5cqw;
    height: calc(100% - 9cqw);
    border: 2px solid var(--navy-card);
    border-radius: 8px;
    outline: 1px solid var(--gold);
    outline-offset: -7px;
    padding: 6cqw 5cqw 4cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.twist-card-inner::before, .twist-card-inner::after {
    content: '♠';
    position: absolute;
    font-size: 12px;
    color: var(--gold);
}
.twist-card-inner::before { top: 10px; left: 12px; }
.twist-card-inner::after { content: '♦'; bottom: 10px; right: 12px; }

.twist-icon {
    width: 34%;
    aspect-ratio: 1;
    margin-bottom: 3cqw;
    color: var(--navy-card);
}
.twist-icon svg { width: 100%; height: 100%; }

.twist-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 9cqw;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 4cqw;
}
.twist-title span { color: var(--gold); }

.twist-row { width: 100%; border-top: 1px solid rgba(251, 182, 3, 0.6); padding: 1.8cqw 0; }
.twist-row strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 3.9cqw;
    letter-spacing: 0.3cqw;
    text-transform: uppercase;
}
.twist-row p { font-size: 4.1cqw; line-height: 1.35; color: var(--navy-card); font-weight: 500; margin-top: 2px; }

.twist-foot {
    margin-top: auto;
    padding-top: 1.5cqw;
    font-size: 3.1cqw;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Wersja z obrazkiem (np. eksport z Canvy) */
.twist-card.is-image { padding: 0; background: none; }
.twist-card.is-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

/* Karuzela */
.twist-section { overflow: hidden; }
.carousel {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}
.carousel-track { position: relative; width: 340px; height: 100%; }
.carousel .twist-card {
    position: absolute;
    top: 50%;
    left: 0;
    width: 340px;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease);
    cursor: pointer;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 10px;
}
.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--navy-card);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.carousel-btn svg { width: 26px; height: 26px; }
.carousel-btn.prev { background: var(--navy-card); color: var(--gold); box-shadow: 3px 3px 0 var(--gold); }
.carousel-btn.next { background: var(--gold); color: var(--navy-card); box-shadow: 3px 3px 0 var(--navy-card); }
.carousel-btn:hover { transform: translate(-2px, -2px); }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: none;
    background: var(--border-mid);
    cursor: pointer;
    transition: width 0.3s var(--ease), background 0.3s;
}
.carousel-dots button[aria-current="true"] { width: 30px; background: var(--gold); }

/* ---------- Strona: QuizTwist szyty na miarę ---------- */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.quiz-card {
    display: flex;
    flex-direction: column;
    padding: 38px 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.quiz-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.quiz-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gold-soft);
    font-size: 28px;
    margin-bottom: 22px;
}
.quiz-card h3 { font-size: 19px; margin-bottom: 14px; }
.quiz-card p { color: var(--text-muted); font-size: 16px; font-weight: 500; line-height: 1.65; }

.quiz-highlight { background: var(--navy-card); border-color: var(--navy-card); }
.quiz-highlight h3 { color: var(--gold); }
.quiz-highlight p { color: rgba(255, 255, 255, 0.85); }
.quiz-highlight .quiz-icon { background: rgba(251, 182, 3, 0.18); }

.quiz-span-2 { grid-column: span 2; }
.quiz-stat {
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gold);
    border-color: var(--gold);
}
.quiz-stat .big { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 64px; line-height: 1; color: var(--navy-card); }
.quiz-stat p { color: var(--navy-card); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-top: 8px; }

.side-cta {
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 2px solid var(--navy-card);
    box-shadow: 8px 8px 0 var(--gold);
}
.side-cta h3 { font-size: 24px; margin-bottom: 16px; }
.side-cta p { color: var(--text-muted); font-weight: 500; line-height: 1.6; margin-bottom: 28px; }

/* ---------- Porównanie formatów ---------- */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.compare-col {
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    box-shadow: var(--shadow-sm);
}
.compare-col.is-flagship { background: var(--navy-card); border-color: var(--navy-card); }
.compare-col h3 { font-size: 22px; margin: 14px 0 22px; }
.compare-col.is-flagship h3 { color: var(--text-light); }
.compare-list { list-style: none; display: grid; gap: 14px; }
.compare-list li { display: flex; gap: 12px; font-weight: 600; line-height: 1.5; color: var(--navy-card); }
.compare-col.is-flagship .compare-list li { color: rgba(255, 255, 255, 0.9); }
.compare-list li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--gold); color: var(--navy-card); margin-top: 1px; }
.compare-list li.is-less::before { content: '–'; background: var(--bg-alt); color: var(--text-muted); }
.compare-col .btn { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 960px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover, .faq-item.active { border-color: var(--gold); }
.faq-item.active { box-shadow: var(--shadow); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-card);
}
.faq-icon {
    flex: none;
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-soft);
    transition: transform 0.4s var(--ease), background 0.3s;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--navy-card);
    transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--gold); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer p { padding: 0 30px 28px; color: var(--text-muted); font-weight: 500; line-height: 1.7; font-size: 17px; }

.faq-more { text-align: center; margin-top: 50px; color: var(--text-muted); font-weight: 600; font-size: 17px; }
.faq-more a { color: var(--navy-card); border-bottom: 2px solid var(--gold); }

/* ---------- Kontakt ---------- */
#kontakt { padding-top: 96px; }

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 { font-size: clamp(32px, 4vw, 52px); margin: 18px 0 20px; }
.contact-info > p { color: var(--text-muted); font-weight: 500; font-size: 18px; line-height: 1.6; }

.alt-contact { margin-top: 36px; display: grid; gap: 12px; }
.alt-contact-title { font-weight: 700; color: var(--navy-card); }
.contact-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    font-weight: 700;
    color: var(--navy-card);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-chip:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-chip span.ico {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--gold);
}
.contact-chip svg { width: 20px; height: 20px; }

.contact-form {
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.form-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; font-weight: 700; color: var(--navy-card); }
.field-label .req { color: #c0392b; }
.field-label .hint { font-weight: 500; color: var(--text-muted); }

.form-control {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border-mid);
    background: var(--bg-main);
    color: var(--navy-card);
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: #9AA1B5; }
.form-control:hover { border-color: var(--navy-light); }
.form-control:focus { outline: none; border-color: var(--navy-card); box-shadow: 0 0 0 4px var(--gold-soft); }
textarea.form-control { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.form-control:user-invalid { border-color: #c0392b; }

.range-row { display: flex; align-items: center; gap: 16px; height: 52px; }
.range-value {
    flex: none;
    min-width: 110px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--gold-soft);
    font-weight: 700;
    color: var(--navy-card);
}
.form-range {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 6px;
    background: linear-gradient(to right, var(--gold) var(--fill, 25%), var(--bg-alt) var(--fill, 25%));
    cursor: pointer;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 4px solid var(--gold);
    transition: transform 0.2s;
}
.form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 4px solid var(--gold);
}
.form-range:hover::-webkit-slider-thumb { transform: scale(1.12); }

.chip-group { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; border: none; min-width: 0; }
.chip-group legend { float: left; width: 100%; margin-bottom: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--border-mid);
    background: var(--bg-main);
    font-weight: 600;
    font-size: 15px;
    color: var(--navy-card);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.chip span::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1.5px solid var(--border-mid);
    background: var(--bg-main) center/12px no-repeat;
    transition: background-color 0.2s, border-color 0.2s;
}
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip span:hover { border-color: var(--navy-card); }
.chip input:checked + span { background: var(--gold-soft); border-color: var(--gold); }
.chip input:checked + span::before {
    background-color: var(--navy-card);
    border-color: var(--navy-card);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%23fbb603' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.form-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); text-align: center; }
.form-submit { margin-top: 28px; }

/* ---------- Stopka ---------- */
footer {
    margin-top: 80px;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 5% 30px;
}
.footer-content {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-logo {
    display: inline-block;
    background: var(--bg-main);
    padding: 10px 14px;
    border-radius: 12px;
}
.footer-logo img { height: 34px; width: auto; }
.footer-col > p { margin-top: 18px; max-width: 280px; line-height: 1.6; font-weight: 500; }
.footer-col h3 { color: var(--gold); font-size: 14px; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-weight: 600; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    max-width: 1500px;
    margin: 50px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 1200px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .card-large { grid-column: span 2; grid-row: span 1; flex-direction: row; }
    .card-large .bento-media { aspect-ratio: auto; width: 50%; min-height: 340px; }
    .card-wide { grid-column: span 2; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-cards { height: 440px; }
    .hero-cards .twist-card { width: 220px; }
}

@media (max-width: 960px) {
    :root { --nav-h: 70px; }
    section { padding: 80px 6%; }

    .mobile-toggle { display: flex; }

    .nav-right {
        position: fixed;
        inset: 0;
        height: 100dvh;
        padding: calc(var(--nav-h) + 30px) 8% 40px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 30px;
        background: var(--bg-main);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
        z-index: 1001;
    }
    .nav-right.active { opacity: 1; visibility: visible; transform: none; }

    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links > li { border-bottom: 1px solid var(--border-light); }
    .nav-link { width: 100%; justify-content: space-between; padding: 20px 0; font-size: 18px; font-family: 'Unbounded', sans-serif; }
    .nav-link::after { display: none; }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        min-width: 0;
        padding: 0 0 14px;
        display: none;
    }
    .dropdown-menu::before { display: none; }
    .dropdown:focus-within .dropdown-menu { transform: none; }
    .dropdown.open .dropdown-menu { display: block; transform: none; }
    .dropdown:hover .chev { transform: rotate(45deg) translateY(-2px); }
    .dropdown.open .chev { transform: rotate(-135deg) translate(-2px, 0); }

    .nav-right .btn { width: 100%; }

    .split-layout, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .features-grid, .quiz-grid, .compare { grid-template-columns: 1fr; }
    .quiz-span-2 { grid-column: span 1; }
    .steps-grid { grid-template-columns: 1fr 1fr; row-gap: 46px; }
    .steps-grid::before { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .photo::after { inset: 12px -12px -12px 12px; }
}

@media (max-width: 640px) {
    section { padding: 64px 20px; }
    .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 50px; }
    .page-hero { padding-top: calc(var(--nav-h) + 50px); padding-bottom: 40px; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-cards { height: 330px; }
    .hero-cards .twist-card { width: 170px; }
    .hero-cards .twist-card:nth-child(1) { transform: translate(-80px, 20px) rotate(-12deg); }
    .hero-cards .twist-card:nth-child(2) { transform: translate(80px, 20px) rotate(10deg); }

    .bento-grid { grid-template-columns: 1fr; }
    .card-large, .card-wide { grid-column: span 1; }
    .card-large { flex-direction: column; }
    .card-large .bento-media { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
    .bento-body { padding: 24px 24px 28px; }
    .bento-card { padding: 26px 24px; min-height: 0; }
    .card-large { padding: 0; }
    .card-soon, .card-gold { padding: 32px 24px; }
    .soon-stamp { font-size: 22px; }
    .events-grid { grid-template-columns: 1fr; }
    .event-card { min-height: 0; }
    .steps-grid { grid-template-columns: 1fr; }

    .form-grid-layout { grid-template-columns: 1fr; }
    .contact-form { padding: 26px 20px; }
    .faq-question { font-size: 17px; padding: 20px; }
    .faq-answer p { padding: 0 20px 22px; font-size: 16px; }

    .carousel { height: 480px; }
    .carousel-track, .carousel .twist-card { width: 280px; }
    .marquee-content { font-size: 15px; }
    .separator { margin: 0 24px; }

    .footer-content { grid-template-columns: 1fr; }
    .cta-section { width: calc(100% - 40px); padding: 60px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Dodatki: SEO-treści, zdjęcia, realizacja, sezon
   ========================================================= */
.h1-kicker {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--navy-card) !important;
    margin-bottom: 22px;
    line-height: 1.4;
}
.h1-kicker::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    border-radius: 2px;
}
.hero-facts a { border-bottom: 2px solid var(--gold); }

/* linki w treści */
.split-text p a, .split-text li a, .feature-box p a, .faq-answer a, .hero-lead a, .lead a, .step-card p a {
    color: var(--navy-card);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.split-text a:hover, .feature-box p a:hover, .faq-answer a:hover, .hero-lead a:hover, .step-card p a:hover { color: var(--navy-light); }

/* zdjęcia jako <img> */

/* hasło pod eventami jako akapit */
p.event-summary {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--navy-card);
}
p.event-summary span { color: var(--gold); }

/* baner sezonowy */
.season-banner-wrap { padding-top: 0; padding-bottom: 40px; }
.season-banner {
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 44px 48px;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 2px solid var(--navy-card);
    box-shadow: 8px 8px 0 var(--gold);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.season-banner:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--gold); }
.season-title { font-family: 'Unbounded', sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); color: var(--navy-card); line-height: 1.15; }
.season-title span { color: var(--gold); }
.season-text { color: var(--text-muted); font-weight: 500; font-size: 17px; }

/* realizacja */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat {
    padding: 28px 20px;
    border-radius: var(--radius);
    background: var(--navy-card);
    text-align: center;
    display: grid;
    gap: 6px;
}
.stat-num { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(32px, 4vw, 48px); color: var(--gold); line-height: 1; }
.stat-label { color: rgba(255, 255, 255, 0.85); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* FAQ z grupami */
.faq-group { font-size: clamp(18px, 2vw, 22px); margin: 34px 0 6px; }
.faq-group:first-child { margin-top: 0; }
.faq-item h3 { margin: 0; font: inherit; text-transform: none; }

.side-cta .side-cta-title { font-family: 'Unbounded', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 24px; color: var(--navy-card); line-height: 1.15; margin-bottom: 16px; }
.steps-grid.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-grid.steps-3::before { left: 17%; right: 17%; }
.footer-col li:not(:has(a)) { font-weight: 600; }

@media (max-width: 960px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery figure:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
    .steps-grid.steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .season-banner { padding: 30px 24px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery figure:last-child { grid-column: span 1; aspect-ratio: 4 / 3; }
}
.bullet-list + p { margin-top: 24px; }
.twist-title.is-long { font-size: 7.2cqw; }

/* =========================================================
   Czytelność i układ (poprawki po audycie wizualnym)
   ========================================================= */
h1, h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* tytuły kart zwykłą wielkością liter – czytelniejsze niż same wersaliki */
.feature-box h3, .event-card h3, .quiz-card h3, .step-card h3, .compare-col h3, .faq-group {
    text-transform: none;
    letter-spacing: -0.2px;
    line-height: 1.25;
}
.feature-box h3 { font-size: 21px; }
.event-card h3 { font-size: 18px; }
.quiz-card h3 { font-size: 20px; }
.step-card h3 { font-size: 18px; }
.compare-col h3 { font-size: 24px; }

.split-text p { font-size: 17px; line-height: 1.7; max-width: 62ch; }
.bullet-list li { font-weight: 500; color: var(--text-main); }
.bullet-list li strong { font-weight: 700; }
.section-header .lead { font-size: 17px; }

/* hero podstron ze zdjęciem */
.page-hero.has-media {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
}
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.page-hero.has-media h1 { font-size: clamp(32px, 3.8vw, 56px); }
.hero-photo { aspect-ratio: 4 / 3.4; box-shadow: 12px 12px 0 var(--gold), 0 30px 60px rgba(15, 47, 108, 0.18); }

/* samodzielne linki „Zobacz też…” pod sekcjami */
.faq-more { padding: 0 5%; }

@media (max-width: 1200px) {
    .page-hero.has-media { grid-template-columns: 1fr 0.8fr; gap: 40px; }
}

@media (max-width: 960px) {
    .page-hero.has-media { grid-template-columns: 1fr; gap: 36px; }
    .hero-photo { aspect-ratio: 16 / 10; box-shadow: 8px 8px 0 var(--gold), 0 20px 40px rgba(15, 47, 108, 0.15); }
}

@media (max-width: 640px) {
    section { padding: 56px 20px; }
    .section-header { margin-bottom: 30px; }
    .split-layout { gap: 32px; }
    .split-text p { font-size: 16px; }
    .bullet-list li { font-size: 16px; padding-left: 30px; }
    .eyebrow { font-size: 12px; letter-spacing: 2px; }
    .h1-kicker { font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; }

    /* karty wydarzeń: ikona obok tekstu, mniej przewijania */
    .event-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        row-gap: 4px;
        padding: 20px;
        align-items: start;
    }
    .event-icon { width: 48px; height: 48px; grid-row: span 3; }
    .events-grid { gap: 12px; margin-bottom: 40px; }

    /* kroki procesu: numer obok tekstu */
    .steps-grid { row-gap: 26px; }
    .step-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; padding: 0; }
    .step-number { width: 52px; height: 52px; margin: 0; grid-row: span 2; font-size: 20px; }
    .step-card h3 { margin-bottom: 6px; align-self: center; }

    .feature-box, .quiz-card { padding: 28px 22px; }
    .features-grid, .quiz-grid { gap: 14px; }
    .feature-num { margin-bottom: 10px; }

    .hero-cards { height: 290px; }
    .hero-cards .twist-card { width: 150px; }
    .hero-cards .twist-card:nth-child(1) { transform: translate(-78px, 18px) rotate(-12deg); }
    .hero-cards .twist-card:nth-child(2) { transform: translate(78px, 18px) rotate(10deg); }

    .photo figcaption { left: 12px; bottom: 12px; font-size: 12px; }
    .stats-grid { gap: 12px; }
    .stat { padding: 20px 12px; }
    .season-banner { box-shadow: 6px 6px 0 var(--gold); }
    .contact-form { box-shadow: var(--shadow-sm); }
    #kontakt { padding-top: 64px; }
}
@media (max-width: 640px) {
    .bento-grid { grid-auto-rows: auto; gap: 14px; }
}
@media (max-width: 640px) {
    .side-cta { padding: 28px 22px; box-shadow: 6px 6px 0 var(--gold); }
    .side-cta .side-cta-title { font-size: 20px; }
    .compare-col { padding: 28px 22px; }
}

/* =========================================================
   Koło fortuny (sekcja Twistów)
   ========================================================= */
.wheel-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 90px;
}
.wheel-title { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.15; margin: 16px 0 20px; text-wrap: balance; }
.wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.wheel-stage { position: relative; width: min(440px, 86vw); aspect-ratio: 1; margin-bottom: 20px; }
.wheel-stage::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -34px;
    width: 38%;
    height: 44px;
    transform: translateX(-50%);
    background: linear-gradient(#9a6532, #6e4320);
    clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
    border-radius: 4px;
    z-index: -1;
}
.wheel-svg { width: 100%; height: 100%; transition: transform 5s cubic-bezier(.12, .75, .12, 1); filter: drop-shadow(0 22px 34px rgba(15, 47, 108, .25)); }
.wheel-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 46px;
    z-index: 3;
    background: #d62f2f;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .3));
}
.wheel-pointer::after { content: ''; position: absolute; top: 6px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translateX(-50%); }
.wheel-controls { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.wheel-controls .btn:disabled { opacity: .5; cursor: default; transform: none; }
.wheel-result {
    width: 100%;
    max-width: 440px;
    min-height: 86px;
    padding: 16px 20px;
    text-align: center;
    border-radius: var(--radius);
    background: var(--cream);
    border: 2px solid var(--navy-card);
    box-shadow: 6px 6px 0 var(--gold);
}
.wheel-result .big { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 22px; text-transform: uppercase; color: var(--navy-card); }
.wheel-result .big.neg { color: #c0392b; }
.wheel-result small { display: block; color: var(--text-muted); font-size: 14px; margin-top: 4px; }

@media (max-width: 960px) {
    .wheel-section { grid-template-columns: 1fr; gap: 36px; margin-top: 64px; }
}
@media (max-width: 640px) {
    .wheel-controls { width: 100%; }
    .wheel-controls .btn { flex: 1 1 100%; }
    .wheel-result { box-shadow: 4px 4px 0 var(--gold); }
}
@media (prefers-reduced-motion: reduce) { .wheel-svg { transition-duration: .01s; } }

/* =========================================================
   Dokumenty (regulamin, polityka prywatności)
   ========================================================= */
.legal-hero { padding-bottom: 30px; }
.legal-hero .hero-lead { color: var(--text-muted); font-size: 16px; font-weight: 600; }
.legal-section { padding-top: 0; }
.legal {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(24px, 5vw, 64px);
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}
.legal h2 {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.3;
    margin: 48px 0 16px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
    text-transform: none;
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-toc + h2 { margin-top: 40px; }
.legal h3 {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: none;
    font-size: 17px;
    font-weight: 700;
    margin: 26px 0 8px;
}
.legal p, .legal ul, .legal ol { margin-bottom: 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li > ul { margin: 8px 0 0; }
.legal strong { color: var(--navy-card); }
.legal a, .link-btn {
    color: var(--navy-light);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.legal a:hover, .link-btn:hover { color: var(--navy-card); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.legal code { font-size: 14px; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; color: var(--navy-card); }
.legal-toc {
    background: var(--cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 22px 26px;
}
.legal-toc-title { font-family: 'Unbounded', sans-serif; text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; color: var(--navy-card); margin-bottom: 10px !important; }
.legal-toc ol { margin: 0; columns: 2; column-gap: 32px; }
.legal-toc li { break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 18px 0 20px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; min-width: 540px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.legal-table thead th { background: var(--navy-card); color: var(--text-light); font-weight: 700; }
.legal-table .table-group th { background: var(--gold-soft); color: var(--navy-card); font-size: 13px; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-meta { margin-top: 40px !important; padding-top: 24px; border-top: 1px solid var(--border-light); font-size: 15px; }
@media (max-width: 640px) {
    .legal-toc ol { columns: 1; }
    .legal { font-size: 15px; border-radius: var(--radius); }
}

/* Klauzula przy formularzu */
.form-rodo { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.form-rodo a { text-decoration: underline; text-underline-offset: 2px; }

/* Linki prawne w stopce */
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-legal .link-btn { color: inherit; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover, .footer-legal .link-btn:hover { color: var(--gold); }

/* ---------- Baner cookies ---------- */
.cookie-banner {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1500;
    width: min(440px, calc(100% - 32px));
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 6px 6px 0 var(--gold), var(--shadow);
    padding: 22px 22px 20px;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cookie-banner.visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: 'Unbounded', sans-serif; font-weight: 700; text-transform: uppercase; color: var(--gold); font-size: 14px; margin-bottom: 8px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { flex: 1; }
.cookie-banner .btn-gold { border-color: var(--gold); box-shadow: none; }
.cookie-banner .btn-gold:hover { background: var(--gold-hover); transform: none; box-shadow: none; }
.btn-ghost-light { background: transparent; color: var(--text-light); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }

/* ---------- Formularz: antyspam i komunikat ---------- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid;
}
.form-status.is-ok { background: rgba(39, 174, 96, 0.1); border-color: #27ae60; color: #1e7a46; }
.form-status.is-error { background: rgba(192, 57, 43, 0.08); border-color: #c0392b; color: #a5281b; }
.form-submit:disabled { opacity: 0.7; cursor: wait; }
