/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-brand: #c65811;
    --color-brand-dark: #a44a0e;
    --color-brand-light: #fdf0e8;
    --color-heading: #060b23;
    --color-text: #444444;
    --color-text-light: #6b7280;
    --color-bg: #FBFBFB;
    --color-white: #ffffff;
    --color-accent: #00a6b4;
    --color-border: #e5e7eb;
    --color-success: #16a34a;
    --color-error: #dc2626;
    --font-body: 'Lato', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --max-width: 1120px;
    --section-py: 5rem;
    --section-px: 1.5rem;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.3;
    font-weight: 600;
}

a { color: var(--color-brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-brand-dark); }

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-brand);
    color: var(--color-white);
    border-color: var(--color-brand);
}
.btn-primary:hover {
    background: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198,88,17,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-brand);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ===== SECTION TITLES ===== */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all var(--transition);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-logo img { height: 52px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 0; }

.header-nav a {
    color: var(--color-heading);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color var(--transition);
}
.header-nav a:hover { color: var(--color-brand); }

.header-cta {
    margin-left: 1rem;
}
.header-cta .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    border-radius: 6px;
}

.mobile-cta {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #0c1328;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../images/hero-rancho.jpg');
    background-image: image-set(
        url('../images/hero-rancho.webp') type('image/webp'),
        url('../images/hero-rancho.jpg') type('image/jpeg')
    );
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-video.is-playing {
    opacity: 1;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6,11,35,0.78) 0%, rgba(6,11,35,0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem var(--section-px);
    max-width: 800px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    background: rgba(198,88,17,0.85);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: none;
}

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.95);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}
.hero-meta svg { width: 18px; height: 18px; fill: var(--color-brand); }

.hero-desc {
    color: rgba(255,255,255,0.92);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Kolaż 2×2 obok „O wydarzeniu” — wysokość ustawiana JS = lewa kolumna (desktop) */
.about-image--mosaic {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.about-photo-mosaic--quads {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    box-sizing: border-box;
    background: linear-gradient(145deg, rgba(6, 11, 35, 0.09), rgba(198, 88, 17, 0.06));
    border-radius: var(--radius);
}

.about-photo-mosaic--quads .about-photo-mosaic__cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    min-height: 0;
    min-width: 0;
    background: var(--color-heading);
}

.about-photo-mosaic--quads .about-photo-mosaic__cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1rem; }

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    line-height: 1.6;
}
.feature-list li svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    fill: var(--color-brand);
    margin-top: 2px;
}

.practical-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-brand-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-brand);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
}
.practical-tip svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: var(--color-brand);
    margin-top: 2px;
}

/* ===== AGENDA ===== */
.agenda {
    padding: var(--section-py) 0;
    background: var(--color-bg);
}

.timeline {
    position: relative;
    max-width: 680px;
    margin: 3rem auto 0;
    padding-left: 28px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding: 0 0 2.25rem 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-brand);
    z-index: 1;
    box-shadow: 0 0 0 4px var(--color-bg);
}

.timeline-time {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    color: var(--color-brand);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.timeline-body {}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-heading);
    font-weight: 600;
    margin: 0 0 0.375rem;
    line-height: 1.35;
}

.timeline-desc {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.timeline-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--color-brand-light);
    color: var(--color-brand);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    margin-top: 0.5rem;
}

/* Timeline guests */
.timeline-guests {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 0.75rem;
}

.timeline-guest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
}

.timeline-guest-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.timeline-guest picture {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.timeline-guest-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-brand);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-guest-placeholder--tba {
    background: var(--color-border);
    color: var(--color-text-light);
    border: 2px dashed var(--color-text-light);
    font-size: 1.125rem;
}

.timeline-guest--tba {
    border-style: dashed;
    border-color: var(--color-border);
    background: transparent;
}

.timeline-guest-name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.3;
}

.timeline-guest--tba .timeline-guest-name {
    color: var(--color-text-light);
    font-style: italic;
}

.timeline-guest-topic {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.4;
    margin-top: 0.125rem;
}

/* ===== WORKSHOPS ===== */
.workshops {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.workshop-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.workshop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.workshop-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.workshop-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.workshop-speaker-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-bottom: 0.35rem;
}

.workshop-speaker {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand);
    font-weight: 600;
}

.workshop-name {
    font-size: 1.25rem;
    margin: 0.5rem 0 0.75rem;
}

.workshop-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}
.workshop-desc:last-child {
    margin-bottom: 0;
}

.workshop-more {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.workshop-more.open {
    max-height: 600px;
}
.workshop-more > p:first-child {
    margin-top: 0.5rem;
}

.workshop-toggle {
    background: none;
    border: none;
    color: var(--color-brand);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem 0 0;
    margin-top: auto;
    transition: color var(--transition);
}
.workshop-toggle:hover {
    color: var(--color-brand-dark);
}

.workshop-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.workshop-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-brand);
    font-weight: 700;
}
.workshop-price span {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.workshop-cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--color-heading);
    padding: 3.5rem 0;
}

.cta-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-banner-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    margin-bottom: 0.375rem;
}

.cta-banner-text p {
    color: rgba(255,255,255,0.7);
    font-size: 1.0625rem;
    margin: 0;
}

.cta-banner-btn {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== SPEAKERS ===== */
.speakers {
    padding: var(--section-py) 0;
    background: var(--color-bg);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.speaker-card { text-align: center; }

.speaker-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow);
}

.speaker-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 700;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow);
}

.speaker-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-heading);
}

.speaker-role {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* Speaker BIO cards (full descriptions) */
.speakers-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.speaker-bio-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.speaker-bio-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.speaker-bio-card--organizer {
    border-left: 4px solid var(--color-brand);
}

.speaker-bio-photo {
    flex-shrink: 0;
}

.speaker-bio-photo picture {
    display: block;
    line-height: 0;
}

.speaker-photo-lg {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow);
}

.speaker-placeholder-lg {
    width: 140px;
    height: 140px;
    font-size: 2.25rem;
    margin: 0;
}

.speaker-bio-content {
    flex: 1;
    min-width: 0;
}

.speaker-bio-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-bottom: 0.25rem;
}

.speaker-bio-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.25rem;
}

.speaker-bio-name-row .speaker-bio-name {
    margin-bottom: 0;
    flex: 0 1 auto;
}

.speaker-bio-role {
    font-size: 0.875rem;
    color: var(--color-brand);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.speaker-bio-badge {
    display: inline-block;
    background: var(--color-brand-light);
    color: var(--color-brand);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.speaker-bio-content p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.speaker-bio-content p:last-child {
    margin-bottom: 0;
}

/* ===== MEMORIES / GALLERY (I EDYCJA) ===== */
.memories {
    padding: var(--section-py) 0;
    background: linear-gradient(165deg, #fffdfb 0%, var(--color-brand-light) 38%, #e8f5f4 100%);
    position: relative;
}

.memories-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.45rem, 1.4vw, 0.85rem);
    margin-top: 2.75rem;
    align-items: stretch;
}

.memories-mosaic__tail {
    display: contents;
}

.memories-load-more-wrap {
    display: none;
    text-align: center;
    margin-top: 1.25rem;
}

.memories-load-more-btn {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.9375rem;
}

@media (max-width: 900px) {
    .memories-mosaic.memories-mosaic--collapsed .memories-thumb--defer {
        display: none !important;
    }

    .memories-load-more-wrap {
        display: block;
    }
}

.memories-video-center {
    grid-column: 1 / -1;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow:
        0 14px 44px rgba(6, 11, 35, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    background: linear-gradient(150deg, #060b23 0%, #1a2744 100%);
    aspect-ratio: 16 / 9;
    max-height: min(70vh, 580px);
    width: 100%;
    position: relative;
}

.memories-video-center::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.25);
}

.memories-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.memories-glightbox.memories-thumb {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 0;
    cursor: zoom-in;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.memories-glightbox.memories-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(6, 11, 35, 0.5) 100%);
    opacity: 0.55;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.memories-glightbox.memories-thumb:hover::after {
    opacity: 0.88;
}

.memories-glightbox.memories-thumb:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.memories-glightbox.memories-thumb img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
    aspect-ratio: 3 / 4;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.memories-glightbox.memories-thumb:hover img {
    transform: scale(1.05);
}

.memories-glightbox.memories-thumb:focus-visible {
    outline: 3px solid var(--color-brand);
    outline-offset: 4px;
    z-index: 3;
}

@media (min-width: 901px) {
    .memories-mosaic {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(4, minmax(128px, 11.5vw));
        gap: clamp(0.5rem, 1vw, 0.85rem);
    }

    .memories-tile-video {
        grid-column: 3 / 5;
        grid-row: 2 / 4;
        align-self: stretch;
        aspect-ratio: unset;
        max-height: none;
        z-index: 1;
    }

    .memories-tile-01 { grid-column: 1; grid-row: 1; }
    .memories-tile-02 { grid-column: 2; grid-row: 1; }
    .memories-tile-03 { grid-column: 3; grid-row: 1; }
    .memories-tile-04 { grid-column: 4; grid-row: 1; }
    .memories-tile-05 { grid-column: 5; grid-row: 1; }
    .memories-tile-06 { grid-column: 6; grid-row: 1; }

    .memories-tile-07 { grid-column: 1; grid-row: 2; }
    .memories-tile-08 { grid-column: 2; grid-row: 2; }
    .memories-tile-09 { grid-column: 5; grid-row: 2; }
    .memories-tile-10 { grid-column: 6; grid-row: 2; }

    .memories-tile-11 { grid-column: 1; grid-row: 3; }
    .memories-tile-12 { grid-column: 2; grid-row: 3; }
    .memories-tile-13 { grid-column: 5; grid-row: 3; }
    .memories-tile-14 { grid-column: 6; grid-row: 3; }

    .memories-tile-15 { grid-column: 1; grid-row: 4; }
    .memories-tile-16 { grid-column: 2; grid-row: 4; }
    .memories-tile-17 { grid-column: 3; grid-row: 4; }
    .memories-tile-18 { grid-column: 4; grid-row: 4; }

    .memories-glightbox.memories-thumb {
        height: 100%;
    }

    .memories-glightbox.memories-thumb img {
        height: 100%;
        min-height: 0;
        aspect-ratio: unset;
    }
}

@media (prefers-reduced-motion: reduce) {
    .memories-glightbox.memories-thumb,
    .memories-glightbox.memories-thumb img {
        transition: none;
    }
    .memories-glightbox.memories-thumb:hover {
        transform: none;
    }
    .memories-glightbox.memories-thumb:hover img {
        transform: none;
    }
}

/* ===== LOCATION ===== */
.location {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.location-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.location-details {
    list-style: none;
}
.location-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}
.location-details li:last-child { border-bottom: none; }
.location-details svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: var(--color-brand);
    margin-top: 2px;
}

.location-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}
.location-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--color-text-light);
    transition: background .2s, color .2s, transform .2s;
}
.location-social__link:hover {
    background: var(--color-brand);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Wiersz ikon social u prowadzących (te same style co Rancho) */
.guest-social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}
.workshop-body .guest-social-row:not(.guest-social-row--adjacent-name) {
    margin-top: 1rem;
    padding-top: 1rem;
}

/* Ikony tuż przy imieniu — bez linii oddzielającej od treści karty */
.guest-social-row--adjacent-name {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    gap: 0.35rem;
    flex: 0 1 auto;
}

.guest-social-row--adjacent-name .location-social__link {
    width: 34px;
    height: 34px;
}

.guest-social-row--adjacent-name .location-social__link svg {
    width: 18px;
    height: 18px;
}
.guest-social-row .location-social__link {
    background: var(--color-bg);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}
.guest-social-row .location-social__link:hover {
    background: var(--color-brand);
    color: var(--color-white);
    border-color: var(--color-brand);
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 3px solid var(--color-border);
    transition: border-color var(--transition);
}
.location-map:hover {
    border-color: var(--color-brand);
}
.location-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}
.map-buttons {
    display: flex;
    gap: 0;
}
.map-buttons .map-overlay-link {
    flex: 1;
}
.map-buttons .map-overlay-link:first-child {
    border-radius: 0 0 0 var(--radius-sm);
}
.map-buttons .map-overlay-link:last-child {
    border-radius: 0 0 var(--radius-sm) 0;
}
.map-buttons .map-overlay-link:only-child {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.map-buttons .map-overlay-link + .map-overlay-link {
    border-left: 1px solid rgba(255,255,255,0.15);
}
.map-overlay-link--apple {
    background: #1d1d1f !important;
}
.map-overlay-link--apple:hover {
    background: #333 !important;
}
.map-overlay-link--apple svg {
    fill: currentColor;
}
.map-overlay-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--color-heading);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background var(--transition);
}
.map-overlay-link:hover {
    background: var(--color-brand);
    color: var(--color-white);
}
.map-overlay-link svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    flex-shrink: 0;
    fill: currentColor;
}

@media (max-width: 480px) {
    .map-buttons { flex-direction: column; }
    .map-buttons .map-overlay-link:first-child { border-radius: 0; }
    .map-buttons .map-overlay-link:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
    .map-buttons .map-overlay-link:only-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
    .map-buttons .map-overlay-link + .map-overlay-link { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); }
}

/* ===== PURCHASE FORM ===== */
.purchase {
    padding: var(--section-py) 0;
    background: var(--color-bg);
}

.purchase--hidden .purchase-form {
    display: none;
}
.purchase--hidden .section-title::after {
    content: '';
}
.purchase--reveal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.purchase--hidden .purchase--reveal-btn {
    display: inline-flex;
}
.purchase:not(.purchase--hidden) .purchase--reveal-btn {
    display: none;
}

.purchase-form {
    max-width: 760px;
    margin: 3rem auto 0;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid var(--color-border);
}
.form-section:last-child { border-bottom: none; }

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.form-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-brand);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-heading);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-1 { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; }

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(198,88,17,0.1);
}

.form-group input.error {
    border-color: var(--color-error);
}

/* Country picker */
.country-picker { position: relative; width: 100%; }
.country-picker__trigger {
    display: flex; align-items: center; gap: 0.625rem;
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--color-border); border-radius: var(--radius-sm);
    background: #fff; font-family: var(--font-body); font-size: 0.9375rem;
    color: var(--color-text); cursor: pointer; transition: border-color var(--transition);
    outline: none; text-align: left;
}
.country-picker__trigger:hover { border-color: #bbb; }
.country-picker__trigger:focus,
.country-picker--open .country-picker__trigger {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(198,88,17,0.1);
}
.country-picker__flag { line-height: 1; flex-shrink: 0; display: flex; align-items: center; }
.country-picker__label { flex: 1; }
.country-picker__arrow { flex-shrink: 0; color: #999; transition: transform .2s; }
.country-picker--open .country-picker__arrow { transform: rotate(180deg); }
.country-picker__dropdown {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 100; max-height: 320px; display: flex; flex-direction: column;
    overflow: hidden;
}
.country-picker__search-wrap { padding: 0.5rem; border-bottom: 1px solid var(--color-border); }
.country-picker__search {
    width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--color-border);
    border-radius: 6px; font-size: 0.875rem; outline: none; font-family: var(--font-body);
}
.country-picker__search:focus { border-color: var(--color-brand); }
.country-picker__list { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.country-picker__group-label {
    padding: 0.375rem 0.75rem; font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; color: #999;
    background: #fafafa; position: sticky; top: 0;
}
.country-picker__option {
    display: flex; align-items: center; gap: 0.625rem;
    padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.9375rem;
    transition: background .1s;
}
.country-picker__option:hover,
.country-picker__option--focused { background: #f0f4ff; }
.country-picker__option--selected { background: #eff6ff; font-weight: 600; }
.country-picker__option-flag { line-height: 1; display: flex; align-items: center; flex-shrink: 0; }
.country-picker__option-name { flex: 1; }
.country-picker__option-code { font-size: 0.75rem; color: #999; font-family: monospace; }
.country-picker__empty {
    padding: 1rem; text-align: center; font-size: 0.875rem; color: #999;
}

.form-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: #0369a1;
    margin-top: 0.5rem;
}
.form-hint svg { flex-shrink: 0; width: 16px; height: 16px; fill: #0369a1; margin-top: 1px; }

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
}
.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-brand);
}

.person-fields {
    display: block;
    margin-top: 1rem;
}
.person-fields.hidden { display: none; }

.company-fields {
    display: none;
    margin-top: 1rem;
}
.company-fields.visible { display: block; }

/* Ticket selection */
.ticket-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: border-color var(--transition);
}
.ticket-option:hover { border-color: var(--color-brand); }

.ticket-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.ticket-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-brand);
    font-weight: 700;
    flex-shrink: 0;
}

.ticket-info { flex: 1; }

.ticket-label {
    font-weight: 700;
    color: var(--color-heading);
    font-size: 0.9375rem;
}

.ticket-workshop {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-style: italic;
}

.ticket-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-brand);
    font-weight: 700;
    white-space: nowrap;
}
.ticket-price small {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.ticket-option.workshop-full {
    opacity: 0.55;
    pointer-events: none;
    position: relative;
    border-color: #ddd;
    background: #f9f9f9;
}
.ticket-option.workshop-full:hover {
    border-color: #ddd;
}

.workshop-full-badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    background: #999;
    border-radius: 4px;
}

.workshop-spots-badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #d35400;
    background: #fff3e0;
    border-radius: 4px;
}

.ticket-qty {
    width: 80px;
    flex-shrink: 0;
}
.ticket-qty select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    text-align: center;
}

.ticket-minimum-warning {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    color: var(--color-error);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}
.ticket-minimum-warning.visible { display: flex; }
.ticket-minimum-warning svg { flex-shrink: 0; width: 16px; height: 16px; fill: var(--color-error); }

/* Discount code */
.discount-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}
.discount-result {
    display: none;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}
.discount-result.visible { display: flex; align-items: center; gap: 0.5rem; }
.discount-result.success {
    background: #dcfce7;
    color: var(--color-success);
    border: 1px solid #bbf7d0;
}
.discount-result.error {
    background: #fef2f2;
    color: var(--color-error);
    border: 1px solid #fecaca;
}
.discount-result .discount-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0 0.25rem;
    opacity: 0.6;
}
.discount-result .discount-remove:hover { opacity: 1; }

/* Participants */
.participants-section {
    display: none;
}
.participants-section.visible { display: block; }

.participant-group {
    margin-bottom: 1.5rem;
}

.participant-group-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-heading);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.participant-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.participant-field label {
    font-size: 0.8125rem;
    white-space: nowrap;
    min-width: 100px;
    color: var(--color-text-light);
}
.participant-field input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: var(--font-body);
}
.participant-field input:focus {
    border-color: var(--color-brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(198,88,17,0.1);
}

.participants-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Order summary */
.summary-table {
    width: 100%;
    border-collapse: collapse;
}
.summary-table th {
    text-align: left;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.summary-table td {
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-border);
}
.summary-table .amount {
    text-align: right;
    color: var(--color-brand);
    font-weight: 700;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0;
    margin-top: 0.5rem;
}
.summary-total-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-heading);
    font-weight: 600;
}
.summary-total-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-brand);
    font-weight: 700;
}
.summary-empty {
    text-align: center;
    padding: 1rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Consents */
.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.consent-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-brand);
    margin-top: 2px;
    flex-shrink: 0;
}
.consent-item label {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.5;
    cursor: pointer;
}
.consent-item a { color: var(--color-brand); text-decoration: underline; }

/* Submit */
.form-submit {
    padding: 2rem;
    text-align: center;
    background: var(--color-bg);
}

.btn-submit {
    width: 100%;
    max-width: 400px;
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
    justify-content: center;
}

.form-payment-help {
    margin: 1rem auto 0;
    max-width: 400px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-light);
}
.form-payment-help a {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: underline;
}

.form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}
.form-security svg { width: 14px; height: 14px; fill: var(--color-text-light); }

/* Form errors */
.form-error-banner {
    display: none;
    padding: 1rem 1.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    color: var(--color-error);
    font-size: 0.9375rem;
    margin: 0 2rem;
}
.form-error-banner.visible { display: block; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-heading);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.footer-col a:hover { color: var(--color-white); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.375rem; }

.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-brand); }
.footer-social svg { width: 18px; height: 18px; fill: var(--color-white); }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8125rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.thank-you-icon svg { width: 40px; height: 40px; fill: var(--color-success); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .workshop-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image:not(.about-image--mosaic) { max-height: 300px; }
    .about-image--mosaic {
        height: auto !important;
        min-height: auto !important;
        max-height: none;
    }
    .about-photo-mosaic--quads {
        aspect-ratio: 1;
        max-width: 560px;
        margin: 0 auto;
        height: auto;
        flex: none;
    }
    .location-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --section-py: 3.5rem;
        --section-px: 1.25rem;
    }

    .header-nav { display: none; }
    .header-cta { display: none; }
    .mobile-toggle { display: block; }

    .header-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: 0 4px 16px rgba(0,0,0,.12);
        padding: 0.5rem 0;
        z-index: 999;
    }
    .header-nav.open a {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
    }
    .header-nav .mobile-cta {
        display: none;
    }
    .header-nav.open .mobile-cta {
        display: block;
        padding: 1rem 1.5rem 0.75rem;
        border-bottom: none;
    }
    .header-nav.open .mobile-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero h1 { font-size: 2rem; }
    .hero-meta { font-size: 1rem; gap: 0.75rem; }

    .workshop-grid { grid-template-columns: 1fr; }
    .speakers-grid { grid-template-columns: repeat(2, 1fr); }

    .speaker-bio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    .speaker-bio-card--organizer {
        border-left: none;
        border-top: 4px solid var(--color-brand);
    }
    .speaker-photo-lg {
        width: 120px;
        height: 120px;
    }
    .speaker-placeholder-lg {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }

    .form-row { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }

    .ticket-option { flex-wrap: wrap; }

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

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .speakers-grid { grid-template-columns: 1fr; }
}

/* ===== LOADING SPINNER ===== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* ===== PRESALE PRICING ===== */
.presale-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, #fff7ed, #fff1e0);
    border: 1px solid #fed7aa;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-heading);
}
.presale-badge-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.price-presale {
    font-weight: 700;
    color: var(--color-brand);
    font-size: 1.05rem;
}
.price-original {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-weight: 400;
}

.tickets-left-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-brand);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: var(--color-brand-light);
    border-radius: var(--radius-sm);
}

/* ===== SOLD OUT OVERLAY ===== */
.sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: var(--radius);
}
.sold-out-message {
    text-align: center;
    padding: 2rem;
}
.sold-out-message h3 {
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}
.sold-out-message p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* ===== COOKIE CONSENT (kompakt, lewy dół) ===== */
.cookie-banner {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    right: auto;
    top: auto;
    width: auto;
    max-width: min(19.5rem, calc(100vw - 1.5rem));
    z-index: 100000;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    animation: cookie-pop-in 0.28s ease;
}
.cookie-banner--closing {
    animation: cookie-pop-out 0.2s ease forwards;
}

@keyframes cookie-pop-in {
    from {
        transform: translateY(8px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}
@keyframes cookie-pop-out {
    to {
        transform: translateY(6px);
        opacity: 0;
    }
}

.cookie-banner-card {
    background: #fff;
    border-radius: 10px;
    padding: 0.65rem 0.75rem 0.6rem;
    border: 1px solid rgba(6, 11, 35, 0.1);
    box-shadow: 0 6px 28px rgba(6, 11, 35, 0.12), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.cookie-banner-kicker {
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-heading);
}

.cookie-banner-desc {
    font-size: 0.6875rem;
    line-height: 1.45;
    color: #5c6470;
    margin: 0 0 0.55rem;
}

.cookie-banner-desc a {
    font-weight: 600;
    color: var(--color-brand);
    white-space: nowrap;
}

.cookie-banner-desc a:hover {
    color: var(--color-brand-dark);
}

.cookie-banner-details[hidden] {
    display: none !important;
}

.cookie-banner-details:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    padding: 0.5rem 0.55rem 0.55rem;
    border-radius: 8px;
    background: linear-gradient(165deg, rgba(198, 88, 17, 0.06), rgba(6, 11, 35, 0.04));
    border: 1px solid rgba(6, 11, 35, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    animation: cookie-details-in 0.22s ease;
}

@keyframes cookie-details-in {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner-details-hint {
    margin: 0 0 0.05rem;
    padding: 0 0 0.15rem;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-heading);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cookie-banner-option {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    padding: 0.42rem 0.45rem;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(6, 11, 35, 0.08);
    background: rgba(255, 255, 255, 0.85);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.cookie-banner-option:hover {
    border-color: rgba(198, 88, 17, 0.35);
    box-shadow: 0 2px 8px rgba(6, 11, 35, 0.06);
}

.cookie-banner-option:has(.cookie-banner-option-input:checked) {
    border-color: rgba(198, 88, 17, 0.45);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px rgba(198, 88, 17, 0.12);
}

.cookie-banner-option-input {
    margin: 0.12rem 0 0;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    accent-color: var(--color-brand);
    cursor: pointer;
}

.cookie-banner-option-body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.cookie-banner-option-title {
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-heading);
}

.cookie-banner-option-desc {
    font-size: 0.625rem;
    line-height: 1.35;
    color: #6b7280;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.35rem;
}

.cookie-banner .cookie-btn {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0.4rem 0.35rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    background: #fafafa;
    color: var(--color-heading);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cookie-banner .cookie-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.cookie-banner .cookie-btn-accept {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

.cookie-banner .cookie-btn-accept:hover {
    background: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
    color: #fff;
}

.cookie-banner .cookie-btn-mid:not(.cookie-btn-accept) {
    font-weight: 600;
}

html.piknik-fonts-off {
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--color-brand, #c65811);
    cursor: pointer;
    text-decoration: underline;
}
.footer-link-btn:hover {
    color: var(--color-brand-dark, #a44a0e);
}
