/* --- CSS PROMĚNNÉ --- */
:root {
    /* Light Mode */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-header: rgba(255, 255, 255, 0.95);
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --border-color: #eeeeee;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);

    /* Brand Colors */
    --accent-blue: #00c6ff;
    --accent-pink: #d6006e;
    --main-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 100%);

    --nav-height: 80px;
    --container-width: 1360px;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-body: #0f0f12;
    --bg-card: #18181b;
    --bg-secondary: #131316;
    --bg-header: rgba(15, 15, 18, 0.95);
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --border-color: #2a2a2e;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.3);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

.gradient-text {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
    margin-left: -0.15em;
}

/* Skip link (a11y) */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    z-index: 2000;
    transition: top .2s ease;
    font-weight: 700;
}
.skip-link:focus { top: 16px; outline: none; }

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-body); z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}
.loader {
    width: 50px; height: 50px; border: 5px solid var(--border-color);
    border-top: 5px solid var(--accent-pink); border-radius: 50%;
    animation: spin 1s linear infinite; margin-bottom: 20px;
}
.loader-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* --- HEADER --- */
header {
    height: var(--nav-height); display: flex; align-items: center;
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--bg-header); backdrop-filter: blur(12px);
    z-index: 1000; border-bottom: 1px solid var(--border-color);
}
header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo { font-size: 1.6rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; max-height: 52px; object-fit: contain; vertical-align: middle; }

.nav-menu ul { display: flex; gap: 30px; list-style: none; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--accent-blue); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.theme-toggle { background: none; border: none; cursor: pointer; color: var(--text-main); padding: 5px; }
.theme-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.hamburger { display: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: 0.3s; background-color: var(--text-main); border-radius: 3px; }

/* --- HERO --- */
.hero {
    padding: 160px 0 100px; text-align: center; position: relative; overflow: hidden;
    min-height: 80vh; display: flex; align-items: center; justify-content: center;
}
.video-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
    filter: brightness(0.5);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), var(--bg-body));
    z-index: -1;
}
.hero h1 { font-size: 4rem; margin-bottom: 20px; color: #ffffff; text-shadow: 0 6px 24px rgba(255,255,255,0.5), 0 10px 40px rgba(255,255,255,0.35); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.9); max-width: 880px; margin: 0 auto 22px; }

.hero-meta {
    display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
    margin: 0 auto 22px; color: rgba(255,255,255,0.92);
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
.hero-meta .pill {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
}
.hero-meta i { font-size: 1.1rem; }

.hero-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.hero-note {
    margin-top: 18px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.btn { display: inline-block; padding: 12px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; border: none; font-size: 1rem; }
.btn-primary { background: var(--main-gradient); color: white; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--accent-pink); }
.btn-inverse { background: white; color: var(--accent-pink); }
.btn-inverse:hover { opacity: 0.95; }

/* --- SECTION & FEATURES --- */
.section { padding: 80px 0; position: relative; z-index: 1; background-color: var(--bg-body); }
.section-alt { background-color: var(--bg-secondary); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.section-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: -36px auto 48px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.section-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.container--narrow { max-width: 1280px; }
.container--sm { max-width: 800px; }
.container--center { text-align: center; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px; border-radius: 16px; transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.feature-card h3 { display: flex; align-items: center; gap: 12px; }
.feature-card h3 i { font-size: 1.25rem; }
.feature-desc { color: var(--text-muted); margin-top: 10px; }

/* --- HIGHLIGHTS GRID --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.highlight {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.highlight i {
    font-size: 1.2rem;
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 2px;
}
.highlight .t { font-weight: 800; }
.highlight .d { color: var(--text-muted); font-size: .95rem; margin-top: 4px; }

/* --- CLOUD GALLERY --- */
.gallery-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    grid-auto-rows: 60px;
    gap: 10px;
    grid-auto-flow: dense;
    padding: 20px 0;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: floating 6s ease-in-out infinite;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover { z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* --- MARQUEE --- */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: inline-flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: 0.3s;
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- STÁNKY (seznam zón) --- */
.stands-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.stand-zone {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    transition: 0.3s;
    scroll-margin-top: var(--nav-height);
    cursor: pointer;
}
.stand-zone:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}
.stand-zone-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.stand-zone-title i {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
}
.stand-zone-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
    line-height: 1.5;
}
.stand-zone-active {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 2px rgba(0, 198, 255, 0.25), var(--shadow-card) !important;
}
.stand-items {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stand-items li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.stand-items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    opacity: 0.8;
}

/* --- MAPA PROSTOR (zóny) --- */
.venue-map {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.venue-zone {
    border-radius: 16px;
    padding: 24px;
    border: 2px solid transparent;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.venue-zone:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.venue-zone-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.venue-zone-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}
.venue-zone--explore {
    background: linear-gradient(135deg, rgba(0,198,255,0.15) 0%, rgba(0,198,255,0.05) 100%);
    border-color: rgba(0,198,255,0.4);
    color: var(--text-main);
}
.venue-zone--create {
    background: linear-gradient(135deg, rgba(214,0,110,0.12) 0%, rgba(214,0,110,0.04) 100%);
    border-color: rgba(214,0,110,0.4);
    color: var(--text-main);
}
.venue-zone--play {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0,198,255,0.1) 0%, rgba(214,0,110,0.1) 100%);
    border-color: rgba(0,198,255,0.35);
    color: var(--text-main);
}
.venue-zone--learn {
    background: linear-gradient(135deg, rgba(214,0,110,0.12) 0%, rgba(214,0,110,0.04) 100%);
    border-color: rgba(214,0,110,0.4);
    color: var(--text-main);
}
.venue-zone--kids {
    background: linear-gradient(135deg, rgba(0,198,255,0.15) 0%, rgba(0,198,255,0.05) 100%);
    border-color: rgba(0,198,255,0.4);
    color: var(--text-main);
}

/* Mapa prostor – inline SVG */
.venue-map-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}
.venue-map-placeholder {
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    min-height: 200px;
}
.venue-map-wrapper .venue-map-svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
}
.venue-map-wrapper .venue-map-svg [id$="-zone"],
.venue-map-wrapper .venue-map-svg #stage {
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.venue-map-wrapper .venue-map-svg [id$="-zone"]:hover,
.venue-map-wrapper .venue-map-svg #stage:hover {
    opacity: 0.85;
}
.venue-map-wrapper .venue-map-svg [id$="-zone"]:focus-visible,
.venue-map-wrapper .venue-map-svg #stage:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}
/* Zvýraznění zóny po kliknutí (výplň se mění v JS na gradient s 75 % neprůhledností) */
.venue-map-wrapper .venue-map-svg .venue-zone-active {
    filter: drop-shadow(0 0 8px rgba(0, 198, 255, 0.4));
}

@media (max-width: 600px) {
    .venue-map {
        grid-template-columns: 1fr;
    }
    .venue-zone--play { grid-column: span 1; }
}

/* --- PROGRAM (Accordion) --- */
.program-block-title {
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.program-root { min-height: 80px; }
.program-error { color: var(--text-muted); padding: 1rem 0; }
.program-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.program-column { min-width: 0; }
.program-list { display: flex; flex-direction: column; gap: 14px; }
.program-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}
.program-item:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.program-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 14px;
    align-items: center;
    color: var(--text-main);
}
.program-header:focus-visible {
    outline: 3px solid rgba(0,198,255,0.35);
    outline-offset: 2px;
    border-radius: 14px;
}
.program-time {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
}
.program-time-photo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}
.program-time-placeholder {
    width: 72px;
    height: 72px;
}
.program-header-text { display: flex; flex-direction: column; gap: 2px; }
.program-title { font-weight: 700; }
.program-meta { color: var(--text-muted); font-size: 0.92rem; }
.program-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.program-toggle i { font-size: 1.05rem; transition: transform .25s ease; }
.program-item.active .program-toggle i { transform: rotate(180deg); }

.program-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.program-body-inner {
    padding: 18px 18px 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.program-note {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.95rem;
}
.program-exhibitor-cta-wrap {
    margin-top: 14px;
}
.program-exhibitor-cta {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 999px;
}

.speaker {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.speaker .avatar {
    width: 44px; height: 44px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--main-gradient);
    color: #fff;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    flex: 0 0 auto;
    letter-spacing: 0.5px;
    padding: 0 8px;
}
.speaker .speaker-photo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex: 0 0 auto;
}
.speaker .meta { flex: 1 1 auto; }
.speaker .name { font-weight: 800; }
.speaker .role { color: var(--text-muted); font-size: 0.92rem; margin-top: 2px; }
.speaker .bio { color: var(--text-muted); font-size: 0.95rem; margin-top: 10px; }
.speaker-social { display: flex; gap: 10px; margin-top: 12px; }
.speaker-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: 0.2s;
}
.speaker-social a:hover { color: var(--accent-blue); border-color: var(--accent-blue); }
.speaker-social i { font-size: 1.1rem; }

.program-desc { color: var(--text-muted); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.badge i { color: var(--accent-pink); }

/* --- INFO CARDS --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
}
.info-card h3 {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.info-card h3 i {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.1rem;
}
.info-card p { color: var(--text-muted); font-size: .95rem; }

/* --- TICKETS CTA --- */
.tickets-cta-box {
    background: var(--main-gradient);
    padding: 60px;
    border-radius: 20px;
    color: white;
}
.tickets-cta-desc {
    margin: 20px 0;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding-top: 60px; margin-top: 50px; position: relative; }

.organizers-section { text-align: center; margin-bottom: 40px; }
.organizers-title { text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.organizers-logos { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.organizer-logo-wrapper { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.organizer-img { height: 80px; width: auto; filter: grayscale(100%); transition: 0.3s; opacity: 0.7; border-radius: 14px; }
.organizer-img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.organizer-name { color: var(--text-muted); font-size: 0.95rem; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 28px;
    padding: 10px 0 30px;
}
.footer-col strong { display: block; margin-bottom: 12px; }
.footer-col strong .icon-mr { margin-right: 8px; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-blue); }
.footer-col .link-icon { margin-right: 8px; }
.footer-col p + p { margin-top: 10px; }
.text-subtle { opacity: 0.9; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}
.footer-social a:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.footer-social i { font-size: 1.1rem; }

.footer-map {
    width: 100%;
    height: 170px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: #ddd;
    margin-top: 12px;
}
.footer-map iframe { width: 100%; height: 100%; border: 0; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.footer-backlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
}
.footer-backlink:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.footer-backlink i { font-size: 1rem; }

/* Back to top */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1500;
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
    transition: 0.25s;
    box-shadow: var(--shadow-card);
    align-items: center;
    justify-content: center;
}
.back-to-top.is-visible { display: inline-flex; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top i { font-size: 1.15rem; }

/* Lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#lightbox.active { display: flex; }
#lightbox .lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    max-height: 90vh;
}
#lightbox .lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    display: block;
}
.lightbox-caption {
    margin-top: 12px;
    padding: 0 16px;
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    line-height: 1;
    z-index: 10;
}
.lightbox-close:hover { opacity: 0.9; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s, border-color 0.2s;
    z-index: 10;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 768px) {
    .lightbox-prev { left: 12px; width: 44px; height: 44px; font-size: 1.25rem; }
    .lightbox-next { right: 12px; width: 44px; height: 44px; font-size: 1.25rem; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 15px; }
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--text-main);
}
.faq-question:focus-visible {
    outline: 3px solid rgba(0,198,255,0.35);
    outline-offset: 2px;
    border-radius: 12px;
}
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 260px; padding-bottom: 20px; }

/* Cookie banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9990;
    display: none;
    max-width: 300px;
    border: 1px solid var(--border-color);
}
#cookie-banner.is-visible { display: block; }
#cookie-banner .cookie-banner-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
#cookie-banner .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
}

@media (max-width: 980px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .program-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed; left: 0; top: var(--nav-height); width: 100%;
        background-color: var(--bg-body);
        flex-direction: column; align-items: center;
        border-bottom: 1px solid var(--border-color);
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 999;
    }
    .nav-menu.active { max-height: 460px; }
    .nav-menu ul { flex-direction: column; width: 100%; text-align: center; padding: 30px 0; gap: 20px; }

    .hero h1 { font-size: 2.5rem; }
    .gallery-cloud { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); grid-auto-rows: 50px; }
    .program-header { grid-template-columns: 78px 1fr auto; }
    .footer-grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Reduced motion (a11y/perf) */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .gallery-item { animation: none !important; }
    .marquee-track { animation: none !important; transform: none !important; }
    .loader { animation: none !important; }
}
