/* MUZEJKA.cz – kulturní, teplý vzhled */
:root {
    /* Výška fixní hlavičky + rezerva obsahu (souhra s .header-inner a řádkem menu) */
    --site-header-offset: 5rem;
    /* Levé boční menu správy (šířka sloupce) */
    --admin-sidebar-width: 17rem;
    --bg: #F6F7FB;
    --bg-card: #FFFFFF;
    --text: #2C2825;
    --text-muted: #6B6560;
    --accent: #8B6914;
    --accent-dark: #5C4A0E;
    --terracotta: #B85C38;
    --terracotta-light: #D4845C;
    --green: #3D5C3D;
    --green-light: #5A7A5A;
    --border: #E4E7EF;
    --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
    --radius: 14px;
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: radial-gradient(1200px 600px at 10% -10%, #ffffff 0%, #f6f7fb 40%, #f3f5fb 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1;
    padding-top: var(--site-header-offset); /* rezerva pro fixní hlavičku (bez přihlášení) */
}
body.has-admin-sidebar .main-content {
    margin-left: var(--admin-sidebar-width);
    padding-top: var(--site-header-offset);
}
body.has-admin-sidebar.page-with-hero .main-content {
    margin-left: var(--admin-sidebar-width);
    padding-top: 0;
}
body.has-admin-sidebar .site-footer {
    margin-left: var(--admin-sidebar-width);
}

/* Úvodní stránka: menu překrývá horní část velkého banneru */
.page-with-hero .main-content { padding-top: 0; }
.page-with-hero .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.80);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}
.page-with-hero .site-header .logo { color: #fff; }
.page-with-hero .site-header .logo span { color: rgba(255, 255, 255, 0.85); }
.page-with-hero .site-header .nav-main a {
    color: rgba(255, 255, 255, 0.92);
}
.page-with-hero .site-header .nav-main a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}
.page-with-hero .site-header .nav-main a.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.page-with-hero .site-header .nav-main a.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.page-with-hero .site-header .nav-main a.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
}
.page-with-hero .site-header .nav-main a.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.page-with-hero .site-header .nav-main a.user-name-link { color: rgba(255, 255, 255, 0.95); }
.page-with-hero .site-header .nav-main a.user-name-link:hover { color: #fff; }
.page-with-hero .site-header .nav-main a.nav-main-highlight {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
}
.page-with-hero .site-header .nav-main a.nav-main-highlight:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.page-with-hero .admin-sidebar {
    background: linear-gradient(175deg, rgba(30, 41, 59, 0.97) 0%, rgba(15, 23, 42, 0.98) 55%, rgba(15, 23, 42, 0.99) 100%);
    border-right-color: rgba(148, 163, 184, 0.2);
}
.page-with-hero .admin-sidebar-profile {
    background: rgba(255, 255, 255, 0.06);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.page-with-hero .admin-sidebar-heading { color: rgba(148, 163, 184, 0.95); }
.page-with-hero .admin-sidebar-link { color: rgba(241, 245, 249, 0.95); }
.page-with-hero .admin-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.page-with-hero .admin-sidebar-profile-name { color: #fff; }
.page-with-hero .admin-sidebar-profile-settings { color: rgba(148, 163, 184, 0.95); }
.page-with-hero .admin-sidebar-profile-settings:hover { color: #fff; }
.page-with-hero .admin-sidebar-profile-cta {
    background: linear-gradient(135deg, rgba(232, 150, 116, 0.35) 0%, rgba(212, 132, 92, 0.45) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-with-hero .admin-sidebar-profile-cta:hover {
    background: linear-gradient(135deg, rgba(232, 150, 116, 0.5) 0%, rgba(212, 132, 92, 0.6) 100%);
    color: #fff;
}
.page-with-hero .catalog-hero {
    min-height: 100vh;
    padding-top: calc(var(--site-header-offset) + 1rem);
}
.page-with-hero .flash-messages { position: relative; z-index: 101; }
.page-with-hero .nav-toggle {
    color: #fff;
}
@media (max-width: 768px) {
    .page-with-hero .nav-main {
        background: rgba(15, 23, 42, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header – pevná výška = --site-header-offset (sidebar a padding obsahu sedí bez mezery) */
.site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(228, 231, 239, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--site-header-offset);
    display: flex;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
}
/* Hlavní menu přes celou šířku okna (neomezovat .container na 1100px) */
.site-header .header-center .container {
    max-width: none;
    width: 100%;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 0.35rem 1.35rem;
    gap: 0.85rem;
    box-sizing: border-box;
}
.header-side {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-side-left {
    justify-content: flex-start;
    gap: 0.5rem;
}
.header-center {
    flex: 1;
}
.header-center-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.site-header .btn {
    padding: 0.52rem 1.05rem;
    font-size: 0.92rem;
    line-height: 1.3;
}
.logo span { color: var(--accent); }
.nav-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.nav-main-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.nav-main-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-main-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.nav-main-user .user-name-link {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-logout-btn {
    margin-left: 0.25rem;
}
.header-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: 0.4rem;
    padding-left: 0.55rem;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}
.header-lang-link {
    color: var(--text-muted, #6b7280);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    line-height: 1;
}
.header-lang-link:hover {
    color: var(--primary, #1e3a5f);
}
.header-lang-link.is-active {
    color: var(--primary, #1e3a5f);
    background: rgba(30, 58, 95, 0.1);
}
.header-lang-sep {
    color: var(--text-muted, #9ca3af);
    font-size: 0.75rem;
    user-select: none;
}
.header-buy-btn {
    margin-left: 0;
}
.nav-main a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.25;
    padding: 0.4rem 0.65rem;
    border-radius: 0.6rem;
    transition: color 0.2s ease, background 0.2s ease;
}
.nav-main a:hover {
    color: var(--accent);
    background: rgba(139, 105, 20, 0.08);
}
.nav-main a.btn-primary,
.nav-main a.btn-ghost,
.nav-main a.nav-main-highlight {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-main a.btn-primary {
    color: #fff;
}
.nav-main a.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.18);
}
.nav-main a.btn-ghost {
    background: #fff;
    box-shadow: 0 4px 14px rgba(31, 41, 55, 0.1);
}
.nav-main a.btn-ghost:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.14);
}
.btn-highlight,
.nav-main a.nav-main-highlight {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
    border-radius: 0.6rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(184, 92, 56, 0.3);
}
.nav-main a.nav-main-highlight {
    padding: 0.5rem 0.95rem;
}
.btn-highlight:hover,
.nav-main a.nav-main-highlight:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.4);
}
.home-text-body a.btn-highlight,
.about-cta-actions a.btn-highlight {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
    text-decoration: none;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(184, 92, 56, 0.3);
}
.home-text-body a.btn-highlight:hover,
.about-cta-actions a.btn-highlight:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.4);
}
.user-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 0.25rem;
}
.user-name-link {
    text-decoration: none;
}
.user-name-link:hover {
    color: var(--accent);
    text-decoration: underline;
}
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0.55rem;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--text);
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}
.nav-toggle:hover {
    background: rgba(139, 105, 20, 0.08);
}
.nav-toggle:active {
    transform: scale(0.96);
}
.nav-toggle-box {
    position: relative;
    display: block;
    width: 1.375rem;
    height: 1rem;
}
.nav-toggle-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition:
        transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.22s ease,
        top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-toggle-bar:nth-child(1) {
    top: 0;
}
.nav-toggle-bar:nth-child(2) {
    top: 7px;
}
.nav-toggle-bar:nth-child(3) {
    top: 14px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}
.page-with-hero .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}
@media (min-width: 769px) {
    .header-center-inner > .nav-main {
        flex: 1;
        min-width: 0;
    }
    .nav-main-user {
        margin-left: auto;
    }
}
@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
        z-index: 102;
    }
    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-main.open { display: flex; }
    .nav-main-left,
    .nav-main-right {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    .header-buy-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .header-inner {
        padding: 0.35rem 0.85rem;
        gap: 0.5rem;
    }
    .header-center {
        min-width: 0;
    }
    .header-center-inner {
        position: relative;
        justify-content: flex-end;
        width: 100%;
        min-height: 2.75rem;
    }
    .nav-main-user {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        margin-top: 0.75rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--border);
        gap: 0.5rem;
    }
    .nav-main-user .user-name-link {
        max-width: none;
        white-space: normal;
        font-size: 0.95rem;
        line-height: 1.35;
        padding: 0.35rem 0.65rem;
    }
    .nav-main-user .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0.55rem 0.75rem;
        font-size: 0.9rem;
        line-height: 1.25;
        text-align: center;
        white-space: nowrap;
    }
    .nav-main-user .header-logout-btn {
        margin-left: 0;
    }
}

/* Levé boční menu správy (správce muzea / supersprávce) */
.admin-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,246,252,0.95) 100%);
    cursor: pointer;
    flex-shrink: 0;
}
.admin-sidebar-toggle-bars {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--text);
    box-shadow: 0 -5px 0 var(--text), 0 5px 0 var(--text);
}
.page-with-hero .admin-sidebar-toggle {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}
.page-with-hero .admin-sidebar-toggle-bars {
    background: #fff;
    box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff;
}
.admin-sidebar-backdrop {
    display: none;
}
.admin-sidebar {
    --admin-sb-fg: #e2e8f0;
    --admin-sb-fg-muted: #94a3b8;
    --admin-sb-line: rgba(148, 163, 184, 0.18);
    --admin-sb-hover: rgba(255, 255, 255, 0.08);
    --admin-sb-accent: #d4845c;
    --admin-sb-accent-soft: rgba(212, 132, 92, 0.22);
    position: fixed;
    left: 0;
    top: var(--site-header-offset);
    bottom: 0;
    width: var(--admin-sidebar-width);
    z-index: 95;
    background: linear-gradient(180deg, #1e293b 0%, #172033 42%, #0f172a 100%);
    border-right: 1px solid var(--admin-sb-line);
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: var(--admin-sb-fg);
}
.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 1.25rem;
}
.admin-sidebar-profile {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 0.875rem 1rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--admin-sb-line);
    background: rgba(15, 23, 42, 0.45);
}
.admin-sidebar-profile--super .admin-sidebar-avatar {
    background: linear-gradient(145deg, #3d2a1f 0%, var(--admin-sb-accent) 55%, #c45c38 100%);
    box-shadow: 0 0 0 2px rgba(212, 132, 92, 0.35), 0 8px 20px rgba(0, 0, 0, 0.35);
}
.admin-sidebar-avatar {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.admin-sidebar-avatar-initials {
    line-height: 1;
}
.admin-sidebar-avatar-icon {
    width: 1.35rem;
    height: 1.35rem;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.admin-sidebar-profile-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.admin-sidebar-profile-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #f8fafc;
    line-height: 1.25;
    word-break: break-word;
}
.admin-sidebar-profile-role {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fef3c7;
    background: rgba(212, 132, 92, 0.25);
    border: 1px solid rgba(252, 211, 77, 0.35);
    padding: 0.2rem 0.45rem;
    border-radius: 0.35rem;
}
.admin-sidebar-profile-role--museum {
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(125, 211, 252, 0.35);
}
.admin-sidebar-profile-role--guest {
    color: var(--admin-sb-fg-muted);
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.25);
    letter-spacing: 0.08em;
}
.admin-sidebar-profile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    box-shadow: 0 4px 14px rgba(184, 92, 56, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.admin-sidebar-profile-cta:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(184, 92, 56, 0.45);
}
.admin-sidebar-profile-settings {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--admin-sb-fg-muted);
    text-decoration: none;
    margin-top: 0.15rem;
    transition: color 0.15s ease;
}
.admin-sidebar-profile-settings:hover {
    color: #f1f5f9;
}
.admin-sidebar-group {
    padding: 0.35rem 0.75rem 0.85rem;
}
.admin-sidebar-heading {
    margin: 0 0 0.4rem;
    padding: 0 0.15rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--admin-sb-fg-muted);
}
h2.admin-sidebar-heading {
    font-weight: 700;
}
.admin-sidebar-link {
    display: block;
    color: var(--admin-sb-fg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.65rem;
    border-radius: 0.45rem;
    line-height: 1.35;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.admin-sidebar-link:hover {
    background: var(--admin-sb-hover);
    color: #fff;
    border-left-color: var(--admin-sb-accent);
}
.admin-sidebar-link:focus-visible {
    outline: 2px solid var(--admin-sb-accent);
    outline-offset: 1px;
}
/* Rozbalovací skupina: hlavní odkaz na schránku + šipka s dalšími e-mailovými položkami */
.admin-sidebar-split {
    margin: 0 0 0.35rem;
    border-radius: 0.5rem;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}
.admin-sidebar-split--open {
    padding: 0.3rem 0.2rem 0.45rem;
    margin-left: -0.2rem;
    margin-right: -0.2rem;
    background: rgba(0, 0, 0, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.admin-sidebar-split__row {
    display: flex;
    align-items: stretch;
    border-radius: 0.45rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-sidebar-split__main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    color: var(--admin-sb-fg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.55rem;
    line-height: 1.35;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.admin-sidebar-split__main:hover {
    background: var(--admin-sb-hover);
    color: #fff;
    border-left-color: var(--admin-sb-accent);
}
.admin-sidebar-split__main:focus-visible {
    outline: 2px solid var(--admin-sb-accent);
    outline-offset: 1px;
    z-index: 1;
}
.admin-sidebar-split__chev {
    flex: 0 0 2.5rem;
    margin: 0;
    padding: 0;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--admin-sb-fg);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.admin-sidebar-split__chev:hover {
    background: var(--admin-sb-hover);
    color: #fff;
}
.admin-sidebar-split__chev:focus-visible {
    outline: 2px solid var(--admin-sb-accent);
    outline-offset: 1px;
    z-index: 1;
}
.admin-sidebar-split__chev-icon {
    display: block;
    transition: transform 0.2s ease;
}
.admin-sidebar-split--open .admin-sidebar-split__chev-icon {
    transform: rotate(180deg);
}
.admin-sidebar-split--open .admin-sidebar-split__row {
    background: rgba(0, 0, 0, 0.38);
    border-color: rgba(255, 255, 255, 0.14);
}
.admin-sidebar-split--open .admin-sidebar-split__chev {
    background: rgba(0, 0, 0, 0.25);
}
.admin-sidebar-split__panel {
    padding: 0.25rem 0 0.15rem 0.25rem;
    margin-top: 0.2rem;
}
.admin-sidebar-split--open .admin-sidebar-split__panel {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 0.4rem;
    padding: 0.35rem 0.25rem 0.3rem 0.35rem;
    margin-top: 0.35rem;
}
.admin-sidebar-link--nested {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.42rem 0.55rem;
    margin-bottom: 0.08rem;
}
.page-with-hero .admin-sidebar-split__main,
.page-with-hero .admin-sidebar-split__chev {
    color: rgba(241, 245, 249, 0.95);
}
.page-with-hero .admin-sidebar-split__chev {
    background: rgba(255, 255, 255, 0.08);
}
.page-with-hero .admin-sidebar-split__row {
    border-color: rgba(255, 255, 255, 0.14);
}
.page-with-hero .admin-sidebar-split--open {
    background: rgba(15, 23, 42, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.page-with-hero .admin-sidebar-split--open .admin-sidebar-split__row {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
}
.page-with-hero .admin-sidebar-split--open .admin-sidebar-split__chev {
    background: rgba(15, 23, 42, 0.5);
}
.page-with-hero .admin-sidebar-split--open .admin-sidebar-split__panel {
    background: rgba(15, 23, 42, 0.45);
}
.admin-sidebar-profile-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
@media (max-width: 960px) {
    .admin-sidebar-toggle {
        display: inline-flex;
    }
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    }
    body.admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }
    body.has-admin-sidebar .admin-sidebar-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--site-header-offset);
        bottom: 0;
        z-index: 93;
        background: rgba(15, 23, 42, 0.45);
    }
    body.has-admin-sidebar .main-content,
    body.has-admin-sidebar .site-footer,
    body.has-admin-sidebar.page-with-hero .main-content {
        margin-left: 0;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.6rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #9e7a23 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 105, 20, 0.28);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #7e5f12 0%, var(--accent-dark) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.38);
}
.btn-ghost {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,246,252,0.95) 100%);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: linear-gradient(135deg, #ffffff 0%, #eef0f8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.12);
}
.btn-danger { background: #c0392b; color: #fff; box-shadow: 0 4px 14px rgba(192, 57, 43, 0.3); }
.btn-danger:hover {
    background: #a93226;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }

/* Flash messages */
.flash-messages {
    position: fixed;
    top: calc(var(--site-header-offset) + 0.35rem);
    right: 1rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}
body.has-admin-sidebar .flash-messages {
    position: fixed;
    top: calc(var(--site-header-offset) + 0.35rem);
}
.flash {
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }
.flash-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

.registration-suspended-banner {
    background: #b91c1c;
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin: 0 auto 0.75rem;
    max-width: 38rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 18px rgba(185, 28, 28, 0.28);
}
.registration-suspended-note {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.registration-suspended-note a {
    font-weight: 600;
}

/* Page headings */
.page-header {
    padding: 2.5rem 0 2rem;
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.page-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}
.card-body { padding: 1.5rem; }

/* Sekce stránky: bílý blok (karta) nebo bez */
.section-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 2rem 2.5rem;
    margin-bottom: 3rem;
}
.section-block .home-text-section { margin-bottom: 0; padding: 0; }
.section-block .page-header { margin-bottom: 1.5rem; }

.card-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.card-text { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.15);
}
textarea.form-control { min-height: 100px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.form-check input { width: auto; }
.form-actions { margin-top: 1.5rem; }
.form-actions .btn { margin-right: 0.5rem; }
.form-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 2rem;
}

/* Grid */
.museum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 0 3rem;
}

/* Projektový kalkulátor */
.container-calculator { max-width: 900px; margin: 0 auto; }
.project-calc-top { margin-bottom: 2rem; }
.project-calc-settings { margin-bottom: 2rem; }
.project-calc-result-block { margin-bottom: 2rem; }
.project-calc-year-block { margin-bottom: 2rem; }
.project-calc-year-intro { font-size: 0.92rem; margin: 0 0 1rem; line-height: 1.5; }
.project-calc-year-lines {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
}
.project-calc-year-lines li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 0.92rem;
}
.project-calc-year-lines li:last-child { border-bottom: none; }
.project-calc-year-lines li span { color: var(--text-muted, #6b7280); }
.project-calc-year-lines-note {
    display: block !important;
    font-size: 0.85rem !important;
    color: var(--text-muted, #6b7280) !important;
    background: #f9fafb;
}
.project-calc-year-total { margin: 0 0 0.75rem; }
.project-calc-year-commissions { font-size: 0.85rem; margin: 0; line-height: 1.5; }
.project-calc-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.project-calc-note { font-size: 0.85rem; margin-top: 1rem; margin-bottom: 0; }

.muzejka-consultation-callout {
    margin: 0 0 2rem;
    padding: 1.25rem 1.35rem 1.35rem;
    border-radius: 12px;
    border: 2px solid var(--accent, #b85c38);
    background: linear-gradient(135deg, #fff9f6 0%, #fff 55%);
    box-shadow: 0 4px 20px rgba(184, 92, 56, 0.12);
}
.muzejka-consultation-callout-badge {
    display: inline-block;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent, #b85c38);
    border-radius: 4px;
}
.muzejka-consultation-callout-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--text, #1a1a1a);
}
.muzejka-consultation-callout-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted, #4b5563);
}
.muzejka-consultation-callout-btn {
    margin-top: 1rem;
}
.home-section-consultation {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.home-section-consultation .muzejka-consultation-callout {
    max-width: 42rem;
    margin: 0 auto;
}
.home-section-automation-info .muzejka-consultation-callout {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.home-section-cta .muzejka-consultation-callout {
    max-width: 36rem;
    margin: 0 auto 1.25rem;
    text-align: left;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
.home-section-cta .muzejka-consultation-callout-title { color: #fff; }
.home-section-cta .muzejka-consultation-callout-text { color: #e2e8f0; }
.home-section-cta .muzejka-consultation-callout-badge { background: var(--terracotta-light, #d4734a); }

/* Informační blok u kalkulátoru a Pro muzea (jedna karta) */
.program-tiers-row,
.calc-info-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 640px;
    margin: 0 auto;
}
.calc-info-wrap {
    margin-bottom: 0;
}
.program-tier-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.program-tier-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--text);
}
.program-tier-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
    line-height: 1.45;
}
.program-tier-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.55;
}
.program-tier-list li { margin-bottom: 0.3rem; }
.program-tiers-wrap { margin-bottom: 0; }
.program-tier-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.6rem;
    line-height: 1.35;
}
.program-tier-price {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}
.program-tier-price strong { color: var(--terracotta); }
.program-tier-promo {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: -0.25rem 0 0.85rem;
    line-height: 1.45;
}
.program-tier-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin: 0.75rem 0 0.35rem;
}
.program-tier-heading:first-of-type { margin-top: 0; }
.program-tier-subsection {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin: 0.6rem 0 0.2rem;
}
.program-tier-audience { margin-bottom: 0; }
.program-tiers-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    line-height: 1.5;
}
.program-tiers-disclaimer strong { color: var(--text); }

.monthly-costs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}
.monthly-cost-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-section-monthly-costs .monthly-cost-card {
    background: #fff;
}
.monthly-cost-card.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.monthly-cost-amount {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1.2;
}
.monthly-cost-title {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    color: var(--text);
}
.monthly-cost-period {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.monthly-cost-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.monthly-cost-card--variable .monthly-cost-amount {
    font-size: 1.5rem;
}

.project-calc-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.project-calc-form .form-group {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    margin-bottom: 0;
}
.project-calc-form .form-group label {
    margin-bottom: 0;
}
.project-calc-form .form-control {
    width: auto;
}
.project-calc-form input[type="number"].form-control {
    width: 7ch;
    min-width: 7ch;
}
.project-calc-form select.form-control {
    width: 12ch;
}
.project-calc-form .form-group.project-calc-wide {
    grid-template-columns: 1fr;
    align-items: stretch;
}
.project-calc-form .form-group.project-calc-wide label {
    margin-bottom: 0.4rem;
}
.project-calc-form .form-group.project-calc-wide .form-control {
    width: 100%;
    max-width: 100%;
}
.project-calc-result {
    background: linear-gradient(180deg, #fff8f2 0%, #fff 100%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}
.project-calc-price {
    margin: 0;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
}
.project-calc-hints {
    margin: 0.3rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .program-tiers-row,
    .calc-info-row,
    .monthly-costs-grid {
        grid-template-columns: 1fr;
    }
    .project-calc-form {
        gap: 0.75rem;
    }
    .project-calc-form .form-group {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .project-calc-form .form-group label {
        margin-bottom: 0.35rem;
    }
    .project-calc-form .form-control,
    .project-calc-form input[type="number"].form-control,
    .project-calc-form select.form-control {
        width: 100%;
        max-width: 100%;
    }
}

/* Admin – nastavení kalkulátoru projektu */
.calculator-settings-page {
    max-width: 1100px;
    margin: 0 auto;
}
.calculator-settings-form {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.75rem 1.75rem;
}
.calculator-settings-form .form-group {
    margin-bottom: 0.75rem;
}
.calculator-settings-form .form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}
.calculator-settings-form .form-grid-2 {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}
.calculator-settings-form .form-grid .form-group {
    margin-bottom: 0;
}
.calculator-settings-form textarea.form-control {
    min-height: 120px;
}
@media (max-width: 900px) {
    .calculator-settings-form .form-grid,
    .calculator-settings-form .form-grid-2 {
        grid-template-columns: 1fr;
    }
}
.museum-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.museum-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(44, 40, 37, 0.12);
}
.museum-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--border) 0%, #ddd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}
.museum-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.museum-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.museum-card-body h3 {
    font-family: var(--font-head);
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}
.museum-card-body h3 a {
    color: var(--text);
    text-decoration: none;
}
.museum-card-body h3 a:hover { color: var(--accent); }
.museum-card-body p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.museum-card-body .btn { margin-top: auto; align-self: flex-start; }

/* Hero */
.hero {
    padding: 3.5rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(139, 105, 20, 0.06) 0%, transparent 100%);
    border-radius: 0 0 var(--radius) var(--radius);
}
.hero h1 {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text);
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-compact { padding: 2rem 0 1.5rem; }
.hero-compact h1 { font-size: 2.25rem; }
.hero-compact p { font-size: 1.05rem; margin-bottom: 0; }

/* Úvodní stránka – banner přes celou šířku */
.home-banner {
    width: 100%;
    min-height: 58vh;
    max-height: 88vh;
    background: linear-gradient(135deg, var(--border) 0%, #e0d9ce 100%);
    overflow: hidden;
}
.home-banner-inner { width: 100%; height: 100%; min-height: 420px; }
.home-banner-slide {
    width: 100%;
    min-height: 58vh;
    max-height: 88vh;
    height: 58vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.home-banner-carousel .home-banner-slide:not(:first-child) { display: none; }
.home-banner-placeholder {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.home-banner-placeholder a { color: var(--accent); }

/* Textová sekce na úvodní stránce */
.home-text-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
}
.home-text-section h2 { margin: 0 0 1rem; }
.home-text-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}
.home-text-body ul { padding-left: 1.25rem; margin: 0.75rem 0; }
.home-text-body li { margin-bottom: 0.35rem; }
.home-text-body a { color: var(--accent); text-decoration: none; }
.home-text-body a:hover { text-decoration: underline; }

/* Sekce Pro muzea na úvodní stránce */
.for-museums-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}
.for-museums-inner { max-width: 560px; }
.for-museums-lead { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.for-museums-list {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    color: var(--text);
}
.for-museums-list li { margin-bottom: 0.4rem; }
.for-museums-section .hero-actions { justify-content: flex-start; }

/* Home showcase layout */
.home-showcase {
    padding: 0.3rem 0 1.1rem;
}
.container.home-showcase-wide {
    max-width: 1340px;
}
.home-showcase-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(300px, 0.8fr);
    gap: 0.9rem;
    align-items: stretch;
}
.home-showcase-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #111;
}
.home-showcase-slides {
    position: relative;
    min-height: 600px;
}
.home-showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.4s ease;
    pointer-events: none;
}
.home-showcase-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.home-showcase-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.home-showcase-slide.is-active .home-showcase-slide-bg {
    animation: showcaseKenBurns 5s ease forwards;
}
.home-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(20, 18, 17, 0.84) 0%, rgba(20, 18, 17, 0.42) 55%, rgba(20, 18, 17, 0.18) 100%);
}
.home-showcase-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(820px, calc(100% - 2.4rem));
    max-width: none;
    color: #f8fafc;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0,0,0,0.85);
    transform: translate(-50%, -50%);
    opacity: 0;
}
.home-showcase-slide.is-active .home-showcase-copy {
    animation: showcaseCopyIn 0.9s ease forwards;
    animation-delay: 0.08s;
}
.home-showcase-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 760px;
    padding: 2rem;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
}
.home-showcase-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 2.6rem;
    line-height: 1.1;
    text-shadow: 0 3px 12px rgba(0,0,0,0.55);
    opacity: 0;
    transform: translateY(14px);
}
.home-showcase-slide.is-active .home-showcase-title {
    animation: showcaseTitleIn 0.7s ease forwards;
    animation-delay: 0.18s;
}
.home-showcase-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-bottom: 0.2rem;
    opacity: 0;
    transform: translateY(12px);
}
.home-showcase-slide.is-active .home-showcase-actions {
    animation: showcaseActionsIn 0.7s ease forwards;
    animation-delay: 0.32s;
}
.home-showcase-controls {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.home-showcase-dots {
    display: flex;
    gap: 0.22rem;
}
.home-showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.home-showcase-dot.is-active {
    background: #fff;
    transform: scale(1.18);
}
.home-showcase-dot {
    transition: transform 0.2s ease, background 0.2s ease;
}
.home-right-banners {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0.7rem;
}
.home-right-banners .home-benefit-card {
    opacity: 0;
    transform: translateY(14px);
    animation: cardReveal 0.55s ease forwards;
}
.home-right-banners .home-benefit-card:nth-child(1) { animation-delay: 0.15s; }
.home-right-banners .home-benefit-card:nth-child(2) { animation-delay: 0.27s; }
.home-right-banners .home-benefit-card:nth-child(3) { animation-delay: 0.39s; }
.home-right-banners .home-benefit-card h3 {
    font-size: 1.16rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
}
.home-right-banners .home-benefit-card p {
    display: none;
}

.home-showcase-catalog {
    padding: 0.6rem 0 1.2rem;
}
.museum-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}
.museum-grid-compact .museum-card-image {
    height: 138px;
}

.home-benefits {
    padding: 0.4rem 0 2.2rem;
}
.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.home-benefit-card {
    background: linear-gradient(180deg, #fff 0%, #fffbf4 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(31, 41, 55, 0.12);
}
.home-benefit-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.02rem;
    line-height: 1.35;
}
.home-benefit-card p {
    margin: 0 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.home-benefits-grid .home-benefit-card {
    opacity: 0;
    transform: translateY(14px);
    animation: cardReveal 0.6s ease forwards;
}
.home-benefits-grid .home-benefit-card:nth-child(1) { animation-delay: 0.08s; }
.home-benefits-grid .home-benefit-card:nth-child(2) { animation-delay: 0.18s; }
.home-benefits-grid .home-benefit-card:nth-child(3) { animation-delay: 0.28s; }
@keyframes showcaseKenBurns {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}
@keyframes showcaseTitleIn {
    0% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes showcaseActionsIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes showcaseCopyIn {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 14px));
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
@keyframes cardReveal {
    0% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
    .home-showcase-top-grid {
        grid-template-columns: 1fr;
    }
    .home-right-banners .home-benefit-card p {
        display: block;
    }
}

/* Domu: animace vstupu do muzea */
.entry-flow-section {
    padding: 0.5rem 0 2.25rem;
}
.entry-flow-scene {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    background: radial-gradient(140% 90% at 0% 0%, #fffdf9 0%, #fff7eb 48%, #fff 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem;
}
.entry-flow-scene::before {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255, 229, 180, 0.35) 48%, rgba(255,255,255,0) 100%);
    transform: translateX(-80%) rotate(8deg);
    animation: entrySceneSweep 10.5s linear infinite;
    pointer-events: none;
}
.entry-flow-scene::after {
    content: "";
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    top: 52%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15,118,110,0.15) 0%, rgba(15,118,110,0.45) 50%, rgba(15,118,110,0.15) 100%);
    z-index: 0;
    animation: entryFlowLine 2.8s ease-in-out infinite;
}
.entry-step {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: entryStepFloat 6s ease-in-out infinite;
}
.entry-step-keypad { animation-delay: 0.4s; }
.entry-step-door { animation-delay: 0.8s; }
.entry-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}
.entry-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}
.entry-arrow {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 1.45rem;
    font-weight: 700;
    animation: entryArrowPulse 1.05s ease-in-out infinite;
}
.entry-phone {
    width: 115px;
    height: 152px;
    border-radius: 15px;
    border: 2px solid #1f2937;
    background: #111827;
    padding: 0.45rem 0.45rem 0.5rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}
.entry-phone-notch {
    width: 42px;
    height: 6px;
    border-radius: 999px;
    background: #374151;
    margin: 0 auto 0.35rem;
}
.entry-phone-screen {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 10px;
    height: 124px;
    padding: 0.45rem;
}
.entry-phone-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 70%);
    transform: translateX(-130%);
    animation: entryScreenShine 3s ease-in-out infinite;
}
.entry-phone-line {
    height: 7px;
    border-radius: 999px;
    background: #d1d5db;
    margin-bottom: 0.35rem;
}
.entry-phone-line.short { width: 70%; }
.entry-phone-code {
    margin-top: 0.6rem;
    text-align: center;
    font-weight: 700;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    padding: 0.35rem 0.2rem;
    position: relative;
    overflow: hidden;
    animation: entryPhonePulse 10.5s ease-in-out infinite;
}
.entry-phone-code::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-130%);
    animation: entryCodeShine 10.5s ease-in-out infinite;
}
.entry-keypad {
    width: 124px;
    border: 2px solid #6b7280;
    border-radius: 10px;
    background: #f9fafb;
    padding: 0.45rem;
    position: relative;
}
.entry-pin {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.4rem;
}
.entry-pin span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid #9ca3af;
    background: #fff;
}
.entry-pin span:nth-child(1) { animation: entryPinDot 10.5s infinite; animation-delay: 2.4s; }
.entry-pin span:nth-child(2) { animation: entryPinDot 10.5s infinite; animation-delay: 2.85s; }
.entry-pin span:nth-child(3) { animation: entryPinDot 10.5s infinite; animation-delay: 3.3s; }
.entry-pin span:nth-child(4) { animation: entryPinDot 10.5s infinite; animation-delay: 3.75s; }
.entry-keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}
.entry-keypad-grid i {
    display: block;
    height: 22px;
    border-radius: 5px;
    background: #e5e7eb;
    border: 1px solid #cbd5e1;
    animation: entryKeyBlink 10.5s infinite;
}
.entry-keypad-grid i:nth-child(1) { animation-delay: 2.3s; }
.entry-keypad-grid i:nth-child(2) { animation-delay: 2.7s; }
.entry-keypad-grid i:nth-child(3) { animation-delay: 3.1s; }
.entry-keypad-grid i:nth-child(4) { animation-delay: 3.5s; }
.entry-keypad-grid i:nth-child(5) { animation-delay: 3.9s; }
.entry-keypad-grid i:nth-child(6) { animation-delay: 4.3s; }
.entry-keypad-grid i:nth-child(7) { animation-delay: 4.7s; }
.entry-keypad-grid i:nth-child(8) { animation-delay: 5.1s; }
.entry-keypad-grid i:nth-child(9) { animation-delay: 5.5s; }
.entry-keypad::after {
    content: "PIN OK";
    position: absolute;
    right: 0.35rem;
    top: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 999px;
    padding: 0.12rem 0.35rem;
    opacity: 0;
    transform: translateY(-4px);
    animation: entryPinOk 10.5s ease-in-out infinite;
}
.entry-door-wrap {
    position: relative;
    width: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.entry-light {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    box-shadow: 0 0 0 rgba(252, 211, 77, 0);
    margin-bottom: 0.35rem;
    animation: entryRoomLight 10.5s ease-in-out infinite;
}
.entry-door-frame {
    width: 120px;
    height: 120px;
    border: 4px solid #8b5e3c;
    border-bottom-width: 6px;
    background: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.entry-door-leaf {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #c98e5e 0%, #a56c42 100%);
    transform-origin: left center;
    animation: entryDoorOpen 10.5s ease-in-out infinite;
}
.entry-visitor {
    position: absolute;
    left: 10px;
    bottom: 2px;
    width: 16px;
    height: 34px;
    opacity: 0;
    transform: translateX(0);
    animation: entryVisitorWalk 10.5s ease-in-out infinite;
}
.entry-visitor::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #334155;
}
.entry-visitor span {
    position: absolute;
    top: 8px;
    left: 6px;
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: #334155;
}
.entry-visitor span::before,
.entry-visitor span::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 3px;
    height: 10px;
    border-radius: 3px;
    background: #334155;
}
.entry-visitor span::before { left: -2px; }
.entry-visitor span::after { right: -2px; }
.entry-room-floor {
    width: 112px;
    height: 10px;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: #e5e7eb;
}
@keyframes entryFlowLine {
    0%, 100% { opacity: 0.35; transform: scaleX(0.96); }
    50% { opacity: 0.9; transform: scaleX(1); }
}
@keyframes entrySceneSweep {
    0% { transform: translateX(-80%) rotate(8deg); }
    100% { transform: translateX(80%) rotate(8deg); }
}
@keyframes entryStepFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes entryArrowPulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(2px); }
}
@keyframes entryScreenShine {
    0%, 68%, 100% { transform: translateX(-130%); }
    78%, 88% { transform: translateX(130%); }
}
@keyframes entryCodeShine {
    0%, 10%, 100% { transform: translateX(-130%); }
    18%, 28% { transform: translateX(130%); }
}
@keyframes entryPhonePulse {
    0%, 12%, 100% { opacity: 0.55; transform: scale(1); }
    16%, 24% { opacity: 1; transform: scale(1.045); }
}
@keyframes entryPinDot {
    0%, 20%, 100% { background: #fff; transform: scale(1); }
    22%, 32% { background: #0ea5a4; transform: scale(1.12); }
}
@keyframes entryKeyBlink {
    0%, 15%, 100% { background: #e5e7eb; transform: scale(1); }
    18%, 24% { background: #c7d2fe; transform: scale(0.94); }
}
@keyframes entryPinOk {
    0%, 50%, 100% {
        opacity: 0;
        transform: translateY(-4px);
    }
    54%, 74% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes entryDoorOpen {
    0%, 45%, 100% { transform: perspective(500px) rotateY(0deg); }
    52%, 82% { transform: perspective(500px) rotateY(-72deg); }
}
@keyframes entryRoomLight {
    0%, 49%, 100% {
        background: #f3f4f6;
        border-color: #d1d5db;
        box-shadow: 0 0 0 rgba(252, 211, 77, 0);
    }
    54%, 84% {
        background: #fef08a;
        border-color: #facc15;
        box-shadow: 0 0 24px rgba(252, 211, 77, 0.8);
    }
}
@keyframes entryVisitorWalk {
    0%, 52% {
        opacity: 0;
        transform: translateX(0);
    }
    58%, 83% {
        opacity: 1;
        transform: translateX(66px);
    }
    100% {
        opacity: 0;
        transform: translateX(78px);
    }
}
@media (max-width: 900px) {
    .home-showcase-slides {
        min-height: 460px;
    }
    .home-showcase-content {
        min-height: 460px;
        padding: 1.1rem;
        display: block;
    }
    .home-showcase-copy {
        position: static;
        width: auto;
        margin: 0.9rem 0 0;
        font-size: 1rem;
        text-align: left;
        transform: none;
    }
    .home-showcase-title {
        font-size: 1.8rem;
        margin-bottom: 0.55rem;
    }
    .home-benefits-grid {
        grid-template-columns: 1fr;
    }
    .entry-flow-scene {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    .entry-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
th, td { padding: 0.5rem 0; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; padding: 0 0.2rem; background: rgba(0, 0, 0, 0.03); }
tr:hover { background: rgba(0,0,0,0.02); }
.table-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Footer */
.site-footer {
    background: var(--text);
    color: #bbb;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-cta-buy.btn {
    margin: 0.2rem 0 0.35rem;
    align-self: flex-start;
    width: auto;
}
.site-footer .footer-cta-buy.btn-primary {
    color: #fff;
}
.site-footer .footer-cta-buy.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.4);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-grid strong { color: #fff; display: block; margin-bottom: 0.5rem; }
.footer-grid p { margin: 0 0 0.5rem; font-size: 0.9rem; }
.footer-grid div:last-child { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-impressum {
    margin: 0 0 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    line-height: 1.55;
    color: #bbb;
}
.footer-impressum strong { color: #ddd; font-weight: 600; }
.footer-cookie-link-wrap { margin: 0 0 0.75rem; font-size: 0.85rem; }
.footer-cookie-settings { color: #aaa; text-decoration: underline; }
.footer-cookie-settings:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 0.85rem; color: #888; }

/* Cookie lišta – Consent Mode v2 */
.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10050;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 26, 26, 0.98);
    color: #e8e8e8;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-consent[hidden] { display: none !important; }
body.cookie-consent-open { overflow: hidden; }
.cookie-consent-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
}
.cookie-consent-text {
    flex: 1 1 180px;
    min-width: 0;
    margin: 0;
    order: 2;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #b8b8b8;
    text-align: right;
}
#cookie-consent-quick-actions { order: 1; }
.cookie-consent-text a { color: #e8c4ae; text-decoration: underline; }
.cookie-consent-text a:hover { color: #fff; }
.cookie-consent-settings {
    flex: 1 1 100%;
    order: 10;
    margin: 0;
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cookie-consent-settings[hidden] { display: none !important; }
.cookie-consent-settings-lead {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    color: #999;
}
.cookie-consent-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.4;
    cursor: pointer;
}
.cookie-consent-option input { margin-top: 0.15rem; flex-shrink: 0; }
.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    flex: 0 0 auto;
    order: 5;
}
#cookie-consent-detail-actions { order: 11; }
.cookie-consent-actions .cookie-consent-btn {
    white-space: nowrap;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.cookie-consent .cookie-consent-actions .btn.btn-ghost {
    background: transparent;
    color: #e8e8e8;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}
.cookie-consent .cookie-consent-actions .btn.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}
.cookie-consent .cookie-consent-actions .btn.btn-primary {
    color: #fff;
    border: none;
}
.cookie-consent-option,
.cookie-consent-option span { color: #d8d8d8; }
.cookie-consent-option strong { color: #fff; }
body.cookie-consent-settings-open .cookie-consent-text { flex: 1 1 100%; }
@media (max-width: 720px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-consent-text {
        order: 1;
        text-align: left;
    }
    .cookie-consent-actions {
        order: 2;
        width: 100%;
    }
    .cookie-consent-actions .cookie-consent-btn {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
    }
    #cookie-consent-quick-actions .cookie-consent-btn:first-child {
        flex: 1 1 100%;
    }
}

/* Utilities */
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.ml-2 { margin-left: 1rem; }
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    background: var(--border);
    color: var(--text);
}
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-superadmin {
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
}
.admin-sidebar-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.95);
    background: rgba(0,0,0,0.25);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.25rem;
}

.integration-block { margin-bottom: 1.5rem; }
.integration-block .form-actions { margin-bottom: 0; }

/* Provozní řády muzea (detail, web, nákup vstupenky) */
.museum-visitor-rules {
    margin: 0 0 2rem;
    padding: 1.35rem 1.5rem;
    background: #fff8f4;
    border: 1px solid rgba(184, 92, 56, 0.25);
    border-radius: 12px;
}
.museum-site-rules-wrap .museum-visitor-rules {
    margin: 1.5rem auto 2rem;
}
.form-card .museum-visitor-rules,
.museum-visitor-rules--compact {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
}
.museum-visitor-rules-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.museum-visitor-rules-intro {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.museum-visitor-rules-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    line-height: 1.6;
}
.museum-visitor-rules-item {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}
.museum-visitor-rules-item--highlight {
    list-style: none;
    margin-left: -1.25rem;
    padding: 0.65rem 0.85rem;
    background: #fff3eb;
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    color: var(--text);
}
.museum-visitor-rules-link {
    font-weight: 600;
    color: var(--accent);
    text-decoration: underline;
}
.museum-visitor-rules-link:hover { color: var(--accent-dark); }

.museum-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    align-items: start;
}
.museum-detail-map-row {
    border-top: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(246, 247, 251, 0.65);
}
.museum-map-embed-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--border);
}
.museum-map-embed-frame {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    vertical-align: bottom;
}
.museum-map-external-links {
    margin: 0.65rem 0 0;
    font-size: 0.88rem;
}
.museum-map-external-sep {
    margin: 0 0.4rem;
    opacity: 0.65;
}
.museum-address-map-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.museum-address-map-link:hover {
    color: var(--accent-dark);
}
.museum-site-aside-map .museum-map-embed-wrap {
    margin-bottom: 0.25rem;
}
.museum-site-aside-map .museum-map-external-links {
    margin-top: 0.5rem;
}

/* Editor webu muzea */
.museum-site-editor-card {
    max-width: none;
}
.museum-site-editor input[type="color"],
.museum-site-editor-card input[type="color"] {
    display: inline-block;
    width: 3.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
}
.museum-site-editor .form-group input[type="color"] + input[type="text"],
.museum-site-editor-card .form-group input[type="color"] + input[type="text"] {
    margin-left: 0.75rem;
}

/* Admin CMS (Sprava webu) */
.admin-cms .page-header p {
    max-width: 72ch;
}
.admin-cms-toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0.75rem 0 1rem;
}
.admin-cms-section-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin: 1.75rem 0 0.75rem;
}
.admin-cms-toolbar-sticky {
    position: sticky;
    top: 0.6rem;
    z-index: 8;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem;
}
.admin-cms-table {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.25rem 0.55rem;
    background: #fff;
}
.admin-cms-pages-table td {
    vertical-align: middle;
}
.admin-cms-url-cell {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
}
.admin-cms-footer-back {
    margin-top: 1.4rem;
}
.admin-cms-content-card {
    margin-bottom: 2rem;
}
.admin-cms-subtitle {
    font-family: var(--font-head);
    font-size: 1.25rem;
}
.admin-cms-help {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.admin-cms-codearea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
}
.admin-cms-html-sections {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
    margin: 0.9rem 0 1rem;
    background: #fff;
}
.admin-cms-html-sections-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.admin-cms-html-sections-list {
    display: grid;
    gap: 0.55rem;
}
.admin-cms-html-section-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    background: var(--bg-card);
}
.admin-cms-html-section-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.admin-cms-html-section-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.admin-cms-form-card {
    max-width: 620px;
}
.admin-section-preview {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
}
.admin-section-preview-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.04);
}
.admin-section-preview-kind {
    font-weight: 700;
}
.admin-section-visibility-form {
    margin: 0;
}
.admin-section-visibility-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}
.admin-section-preview-body {
    padding: 1rem;
}
.admin-section-preview-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.admin-section-preview-image {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--border);
}
.admin-section-body-preview {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem;
    background: var(--bg-card);
}

/* Web muzea (presentation_type = site) */
.museum-site-header {
    margin-bottom: 0;
}
.museum-site-hero {
    color: #fff;
    padding: 2.5rem 0 1.5rem;
    background: var(--terracotta);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.museum-site-theme-default .museum-site-hero {
    background: var(--terracotta);
}
.museum-site-theme-gallery .museum-site-hero {
    background: linear-gradient(135deg, #222, #555);
}
.museum-site-theme-dark .museum-site-hero {
    background: #111;
}
.museum-site-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}
.museum-site-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin: 0 0 0.5rem;
}
.museum-site-subtitle {
    margin: 0;
    font-size: 1rem;
    max-width: 38rem;
}
.museum-site-hero-actions {
    flex-shrink: 0;
}
.museum-site-nav {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
}
.museum-site-nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}
.museum-site-nav a:hover {
    background: rgba(255, 255, 255, 0.28);
}
.museum-site-section {
    padding: 2.5rem 0;
}
.museum-site-section-alt {
    background: rgba(246, 247, 251, 0.9);
}
.museum-site-section.museum-site-section-dynamic {
    padding: 4rem 0;
}
.museum-site-dynamic-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
.museum-site-cols-2 .museum-site-dynamic-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.museum-site-cols-3 .museum-site-dynamic-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.museum-site-section-dynamic .museum-site-dynamic-inner > * {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.museum-site-theme-dark .museum-site-section-dynamic .museum-site-dynamic-inner > * {
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
}

.museum-site-extra-list {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    background: #fafbff;
}
.museum-site-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}
.museum-site-extra-item:last-child {
    border-bottom: none;
}
.museum-site-extra-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.museum-site-theme-dark .museum-site-section {
    background: #0f172a;
    color: #e5e7eb;
}
.museum-site-theme-dark .museum-site-section-alt {
    background: #020617;
}
.museum-site-section h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    margin: 0 0 1rem;
}
.museum-site-two-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.museum-site-main {
    flex: 2;
    min-width: 240px;
}
/* „Napište nám“ – jméno a e-mail vedle sebe na širších obrazovkách */
.museum-contact-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.museum-contact-form-row .form-group {
    flex: 1 1 220px;
    min-width: 0;
    margin-bottom: 0;
}
.museum-site-aside {
    flex: 1;
    min-width: 220px;
}
.museum-site-photo img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}
.museum-site-pricing-table {
    width: 100%;
    border-collapse: collapse;
}
.museum-site-pricing-table th,
.museum-site-pricing-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.95rem;
}
.museum-site-pricing-table th {
    font-weight: 600;
}
@media (max-width: 768px) {
    .museum-site-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
.museum-detail-grid .museum-card-image {
    margin: 5px;
    border-radius: 12px;
    overflow: hidden;
}
.museum-detail-grid .museum-card-image img {
    border-radius: 12px;
}
@media (max-width: 768px) {
    .museum-detail-grid {
        grid-template-columns: 1fr;
    }
    .museum-detail-grid .museum-card-image { height: 220px !important; margin: 5px; }
}

/* Ticket code */
.ticket-code {
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    background: var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.5rem 0;
}
.ticket-qr-wrap { margin: 0.75rem 0; }
.ticket-qr { display: block; border-radius: 8px; background: #fff; padding: 8px; }

/* Stránka potvrzení nákupu */
.container-narrow-confirm { max-width: 560px; }
.ticket-confirm-header { text-align: center; margin-bottom: 1.5rem; }
.ticket-confirm-header h1 { font-family: var(--font-head); font-size: 1.75rem; }
.ticket-confirm-museum { font-size: 1.1rem; font-weight: 600; margin: 0.25rem 0; }
.ticket-confirm-validity { margin-bottom: 1rem; }
.ticket-confirm-instructions { margin-bottom: 1.5rem; font-size: 0.95rem; color: var(--text-muted); }
.ticket-confirm-card { max-width: 480px; margin-bottom: 1.5rem; }
.ticket-confirm-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ========== HOMEPAGE (konverzní, SaaS) ========== */
.home-page {
    --home-max: 1200px;
    --home-padding-y: 80px;
}
.home-container {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero */
.home-hero {
    background: #fff;
    padding: var(--home-padding-y) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.home-hero-title {
    font-family: var(--font-head);
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.25rem;
}
.home-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    max-width: 520px;
}
.home-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.home-hero-cta .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.home-hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}
.home-hero-cta .btn-ghost {
    border: 2px solid var(--terracotta);
    color: var(--terracotta);
}
.home-hero-cta .btn-ghost:hover {
    background: rgba(184, 92, 56, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.12);
}
.home-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}
.home-hero-trust span { white-space: nowrap; }
.home-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero-flow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.home-hero-flow-item {
    padding: 0.6rem 1rem;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
}
.home-hero-flow-arrow {
    color: var(--accent);
    font-size: 1.25rem;
}

/* Sections common */
.home-section {
    padding: var(--home-padding-y) 0;
}
.home-section-light { background: #fff; }
.home-section-gray { background: #f5f6f8; }
.home-section-title {
    font-family: var(--font-head);
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 2.5rem;
    color: var(--text);
}
.home-section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin: -1.5rem 0 1.5rem;
    font-size: 1.1rem;
}

/* How it works – 3 steps */
.home-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.home-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-step.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.home-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
}
.home-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--text);
}
.home-step p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Hybridní provoz – sezóna vs. samoobsluha (Pro muzea) */
.home-hybrid-lead {
    max-width: 42rem;
    margin: -0.5rem auto 2rem;
    text-align: center;
}
.home-operation-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto 1.5rem;
}
.home-operation-mode {
    padding: 1.75rem 1.85rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.home-operation-mode-tag {
    display: inline-block;
    margin: 0 0 0.65rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(184, 92, 56, 0.1);
    border-radius: 6px;
}
.home-operation-mode-title {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}
.home-operation-mode p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.home-hybrid-footnote {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.55;
}
@media (max-width: 720px) {
    .home-operation-modes { grid-template-columns: 1fr; }
}

/* Pillars */
.home-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.home-pillar {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-pillar.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.home-pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.home-pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text);
}
.home-pillar ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.home-pillar li { margin-bottom: 0.4rem; }

/* Cards grid – pro koho */
.home-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.home-card {
    padding: 1.75rem;
    background: #fff;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.home-card.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.home-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(139, 105, 20, 0.12);
}

/* Savings – dark section */
.home-section-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
}
.home-section-title-light { color: #fff; }
.home-savings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.home-savings-block {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-savings-block.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.home-savings-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.home-savings-block p { margin: 0; font-size: 0.95rem; color: #94a3b8; }
.home-savings-note {
    text-align: center;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}
.home-savings-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}
/* Tmavé pozadí + .btn-ghost = jinak bílý text na světlém „ghost“ pozadí (nečitelné) */
.home-section-dark .home-savings-cta.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    background-image: none;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.home-section-dark .home-savings-cta.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

/* Implementation */
.home-implementation-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.home-implementation-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}
.home-implementation-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.home-section .btn { display: block; width: fit-content; margin: 0 auto; }

/* Why Muzejka */
/* Příběh na stránce Pro muzea – úzký sloupec, autentický tón */
.home-container-narrow { max-width: 700px; margin-left: auto; margin-right: auto; }
.home-section-story .home-section-title { margin-bottom: 0.75rem; }
.home-story-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}
.home-story-block {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
}
.home-story-block p {
    margin: 0 0 1.25rem;
}
.home-story-block p:last-child { margin-bottom: 0; }
.home-story-cta-text {
    margin-top: 1.5rem !important;
    font-size: 1rem;
}
.home-story-cta-text a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.home-story-cta-text a:hover { text-decoration: underline; }

/* Proč si vybrat Muzejku – karty s ikonami (stránka Pro muzea) */
.home-section-choose .home-choose-intro {
    text-align: center;
    max-width: 36rem;
    margin: -0.25rem auto 2rem;
}
.home-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    max-width: none;
    margin: 0 auto;
}
.home-choose-card {
    position: relative;
    text-align: center;
    padding: 1.5rem 0.65rem 1.35rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    transform: translateY(14px);
}
.home-choose-card.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.home-choose-card::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--terracotta) 0%, #2563eb 100%);
    opacity: 0.85;
}
.home-choose-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}
.home-choose-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
}
.home-choose-icon {
    font-size: 1.85rem;
    line-height: 1;
}
.home-choose-icon-wrap--flag {
    padding: 0.3rem;
    background: #f1f5f9;
}
.home-choose-flag {
    display: block;
    width: 2.65rem;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.home-choose-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.35;
}

/* Final CTA */
.home-section-cta {
    background: var(--text);
    color: #fff;
    text-align: center;
}
.home-cta-title {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #fff;
}
.home-cta-btn {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.4);
}
.home-cta-btn:hover { color: #fff; filter: brightness(1.05); }
.home-cta-note {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: #94a3b8;
}
.home-cta-catalog {
    margin: 1.25rem 0 0;
    font-size: 1rem;
}
.home-cta-catalog a {
    color: #cbd5e1;
    text-decoration: underline;
}
.home-cta-catalog a:hover {
    color: #fff;
}
.home-hero-cta-catalog {
    border-color: var(--accent);
    color: var(--accent);
}
.home-hero-cta-catalog:hover {
    background: rgba(139, 105, 20, 0.08);
}

/* Blok „Registrace do katalogu Muzejka.cz“ na stránce registrace */
.catalog-registration-block {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eef9 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}
.catalog-registration-inner {
    max-width: 640px;
}
.catalog-registration-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.catalog-registration-text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.catalog-registration-block .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Fade-in (used by steps, pillars, cards, savings) */
.home-fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-fade-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-title { font-size: 36px; }
    .home-hero-visual { order: -1; }
    .home-steps, .home-pillars, .home-savings, .home-operation-modes { grid-template-columns: 1fr; }
    .home-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .home-choose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .home-hero-title { font-size: 28px; }
    .home-section { padding: 60px 0; }
    .home-cards-grid { grid-template-columns: 1fr; }
    .home-choose-grid { grid-template-columns: 1fr; }
}

/* ========== HOMEPAGE KATALOGU (návštěvníci, marketplace) ========== */
.catalog-home {
    --catalog-max: 1200px;
    --catalog-padding-y: 80px;
}
.catalog-container {
    max-width: var(--catalog-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.catalog-container-narrow {
    max-width: 640px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Hero – full width, overlay, search */
.catalog-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--catalog-padding-y) 1.5rem;
}
.catalog-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1e293b 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%231e3a5f'/%3E%3Cstop offset='100%25' style='stop-color:%230f172a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='800' height='600'/%3E%3C/svg%3E");
    z-index: 0;
}
.catalog-hero-bg-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.catalog-hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.catalog-hero-bg-slide.is-active {
    opacity: 1;
}
.catalog-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.78) 40%, rgba(15, 23, 42, 0.85) 100%);
}
.catalog-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--catalog-max);
    margin: 0 auto;
    text-align: center;
}
.catalog-hero-title {
    font-family: var(--font-head);
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
.catalog-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem;
}
.catalog-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto 1.5rem;
}
.catalog-search-input {
    flex: 1 1 220px;
    min-width: 200px;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.catalog-search-city {
    width: 140px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.catalog-search-btn {
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(184, 92, 56, 0.35);
}
.catalog-search-btn:hover {
    background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.45);
}
.catalog-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}
.catalog-hero-trust span { white-space: nowrap; }

/* Sections */
.catalog-section {
    padding: var(--catalog-padding-y) 0;
}
.catalog-section-light { background: #fff; }
.catalog-section-gray { background: #f5f6f8; }
.catalog-section-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 2rem;
    color: var(--text);
}
.catalog-section-title-light { color: #fff; }
.catalog-section-intro {
    text-align: center;
    margin: -1rem auto 1.5rem;
    max-width: 760px;
    color: var(--text-muted);
    line-height: 1.55;
}
.catalog-section-intro-light {
    color: #cbd5e1;
}
.catalog-section-cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* Jak funguje návštěva – 3 kroky */
.catalog-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.catalog-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.catalog-step.catalog-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.catalog-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
}
.catalog-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.catalog-step p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Doporučená muzea – grid karet */
.catalog-museum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.catalog-museum-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.catalog-museum-card.catalog-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.catalog-museum-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.catalog-museum-card-image {
    display: block;
    height: 180px;
    background: var(--border);
    overflow: hidden;
}
.catalog-museum-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.catalog-museum-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
}
.catalog-museum-card-body {
    padding: 1.25rem;
}
.catalog-museum-card-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}
.catalog-museum-card-body h3 a {
    color: var(--text);
    text-decoration: none;
}
.catalog-museum-card-body h3 a:hover {
    color: var(--accent);
}
.catalog-museum-city {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}
.catalog-museum-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    line-height: 1.45;
}
.catalog-museum-price {
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

/* Mapa sekce – full width CTA */
.catalog-section-map {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
}
.catalog-section-map .catalog-section-title {
    color: #fff;
}
.catalog-section-map .catalog-quote {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(255, 255, 255, 0.35);
}
.catalog-map-desc {
    text-align: center;
    margin: 0 0 1.5rem;
    color: #94a3b8;
}
.catalog-map-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Úvodní stránka – sekce pro majitele muzeí */
.catalog-section-owners {
    text-align: center;
}
.catalog-owner-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
}
.catalog-section-map.catalog-section-owners .catalog-owner-eyebrow {
    color: #fcd9c8;
}
.catalog-owner-slogan {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 auto 1rem;
    max-width: 46rem;
    color: var(--text);
}
.catalog-section-map.catalog-section-owners .catalog-owner-slogan {
    color: #fff;
}
.catalog-section-owners .catalog-owner-intro {
    margin-top: -0.5rem;
}
.catalog-owner-benefits-title {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.catalog-section-map.catalog-section-owners .catalog-owner-benefits-title {
    color: #e2e8f0;
}
.catalog-owner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0 0 1.75rem;
    text-align: left;
}
.catalog-owner-card {
    position: relative;
    padding: 1.35rem 1.15rem 1.2rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.catalog-section-map.catalog-section-owners .catalog-owner-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}
.catalog-owner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}
.catalog-section-map.catalog-section-owners .catalog-owner-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.catalog-owner-card::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--terracotta) 0%, #2563eb 100%);
    opacity: 0.9;
}
.catalog-owner-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    font-size: 1.45rem;
    line-height: 1;
}
.catalog-section-map.catalog-section-owners .catalog-owner-card-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}
.catalog-owner-card-title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}
.catalog-section-map.catalog-section-owners .catalog-owner-card-title {
    color: #fff;
}
.catalog-owner-card-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.catalog-section-map.catalog-section-owners .catalog-owner-card-text {
    color: #cbd5e1;
}
.catalog-owner-summary {
    margin: 0 auto 1.75rem;
    max-width: 44rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.catalog-section-map.catalog-section-owners .catalog-owner-summary {
    color: #cbd5e1;
}
.catalog-owner-cta {
    margin: 0;
}

/* Proč je Muzejka jiná – 4 boxy */
.catalog-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.catalog-trust-box {
    text-align: center;
    padding: 1.75rem 1.15rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.catalog-trust-box.catalog-fade-visible {
    opacity: 1;
    transform: translateY(0);
}
.catalog-trust-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.catalog-trust-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}
.catalog-trust-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.catalog-trust-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.catalog-section-map .catalog-trust-box {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}
.catalog-section-map .catalog-trust-box h3 {
    color: #fff;
}
.catalog-section-map .catalog-trust-text {
    color: #cbd5e1;
}

/* Admin editor úvodní stránky - rozbalitelné sekce */
.admin-home-group {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.75rem;
    background: var(--bg-card);
}
.admin-home-group > summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    padding: 0.35rem 0.2rem;
}
.admin-home-group > summary::-webkit-details-marker {
    display: none;
}
.admin-home-group > summary::before {
    content: "▸ ";
    color: var(--text-muted);
}
.admin-home-group[open] > summary::before {
    content: "▾ ";
}

/* Recenze / důvěra */
.catalog-quote {
    margin: 0;
    padding: 2rem;
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 4px solid var(--accent);
    background: rgba(139, 105, 20, 0.06);
    border-radius: 0 12px 12px 0;
}
.catalog-quote p { margin: 0; }

/* CTA pro provozovatele (tmavý pás) */
.catalog-cta-section {
    text-align: center;
}
.catalog-cta-title {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.catalog-cta-subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}
.catalog-section-map.catalog-cta-section {
    color: #fff;
}
.catalog-section-map.catalog-cta-section .catalog-cta-title {
    color: #fff;
}
.catalog-section-map.catalog-cta-section .catalog-cta-subtitle {
    color: #94a3b8;
}
.catalog-cta-btn {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.4);
}
.catalog-cta-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.5);
}

/* Fade-in */
.catalog-fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.catalog-fade-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .catalog-hero-title { font-size: 36px; }
    .catalog-steps,
    .catalog-trust-grid,
    .catalog-owner-grid { grid-template-columns: 1fr; }
    .catalog-museum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .catalog-hero-title { font-size: 28px; }
    .catalog-search { flex-direction: column; }
    .catalog-search-input {
        flex: 0 0 auto;
        min-width: 200px;
        height: 2.75rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    .catalog-search-city {
        width: 100%;
        height: 2.75rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    .catalog-section { padding: 60px 0; }
    .catalog-museum-grid { grid-template-columns: 1fr; }
}

/* ========== STRÁNKY JAK TO FUNGUJE + KONTAKT ========== */
.info-page {
    --info-max: 1200px;
    --info-padding-y: 80px;
}
.info-container {
    max-width: var(--info-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.info-container-narrow { max-width: 640px; }
.info-container-form { max-width: min(960px, var(--info-max)); }

.info-hero {
    background: #fff;
    padding: var(--info-padding-y) 0;
    text-align: center;
}
.info-hero-title {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.info-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}
.info-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.info-hero-icon {
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    background: var(--border);
    border-radius: 12px;
}
.info-hero-arrow { color: var(--accent); font-size: 1.5rem; }

.info-section {
    padding: var(--info-padding-y) 0;
}
.info-section-light { background: #fff; }
.info-section-gray { background: #f5f6f8; }
.info-section-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 2rem;
    color: var(--text);
}

.info-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.info-step {
    text-align: center;
    padding: 2rem 1.25rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}
.info-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
}
.info-step h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.info-step p { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; }

.info-two-cols {
    max-width: 640px;
    margin: 0 auto;
}
.info-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.info-check-list li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
}
.info-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.info-security-note {
    margin: 1rem 0 0;
    font-size: 1rem;
    color: var(--text-muted);
}

.info-faq {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.info-faq-item {
    border-bottom: 1px solid var(--border);
}
.info-faq-item:last-child { border-bottom: none; }
.info-faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.info-faq-item summary::-webkit-details-marker { display: none; }
.info-faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); }
.info-faq-item[open] summary::after { content: "−"; }
.info-faq-item p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-section-cta {
    background: var(--text);
    color: #fff;
    text-align: center;
}
.info-cta-title {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #fff;
}
.info-cta-btn {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.4);
}
.info-cta-btn:hover { color: #fff; filter: brightness(1.05); }
.info-cta-subtitle {
    margin: 0 0 1rem;
    color: #94a3b8;
    font-size: 1.05rem;
}

.info-section-mini { padding: 60px 0; }
.info-operator-text { margin: 0 0 0.75rem; font-size: 1.05rem; }

.info-contact-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1100px) {
    .info-contact-boxes { grid-template-columns: 1fr; }
}
.info-contact-box {
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.info-contact-box h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--accent);
}
.info-contact-box-title {
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.info-contact-box p { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.info-contact-box p:last-child { margin-bottom: 0; }
.info-contact-box--pick {
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.info-contact-box--pick:hover,
.info-contact-box--pick.is-active {
    border-color: var(--accent);
    box-shadow: 0 6px 24px rgba(184, 92, 56, 0.18);
}
.info-contact-box--pick.is-active {
    outline: 2px solid rgba(184, 92, 56, 0.35);
    outline-offset: 2px;
}
.contact-page-lead {
    max-width: 52rem;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.contact-type-picker-block {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-type-picker-label {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}
.contact-type-picker-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--accent);
}
.contact-type-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.contact-type-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}
.contact-type-option:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(184, 92, 56, 0.12);
}
.contact-type-option.is-active {
    border-color: var(--accent);
    background: rgba(184, 92, 56, 0.06);
    box-shadow: 0 6px 24px rgba(184, 92, 56, 0.18);
    outline: 2px solid rgba(184, 92, 56, 0.35);
    outline-offset: 2px;
}
.contact-type-option-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}
.contact-type-option-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-muted);
}
@media (max-width: 720px) {
    .contact-type-picker { grid-template-columns: 1fr; }
}
.contact-form-intro { margin: -0.5rem 0 1.25rem; font-size: 0.92rem; }
.contact-fields-extra + .contact-fields-panel { margin-top: 0; }
.info-contact-form .contact-fields-extra[hidden],
.info-contact-form .contact-fields-panel[hidden] {
    display: none !important;
}

.info-page .info-contact-form.form-card {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 2.25rem 2.5rem;
}
.info-contact-form .contact-fields-common {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.25rem;
}
@media (max-width: 800px) {
    .info-contact-form .contact-fields-common {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
.info-contact-form .contact-fields-panel[data-contact-panel="catalog"]:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
    align-items: start;
}
.info-contact-form .contact-fields-panel[data-contact-panel="catalog"]:not([hidden]) .form-group:last-of-type,
.info-contact-form .contact-fields-panel[data-contact-panel="catalog"]:not([hidden]) .form-group:has(input[type="file"]) {
    grid-column: 1 / -1;
}
@media (max-width: 800px) {
    .info-contact-form .contact-fields-panel[data-contact-panel="catalog"]:not([hidden]) {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
@media (max-width: 600px) {
    .info-page .info-contact-form.form-card {
        padding: 1.5rem 1.25rem;
    }
}
.info-contact-details {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}
.info-contact-details p { margin: 0 0 0.5rem; }

@media (max-width: 900px) {
    .info-hero-title { font-size: 36px; }
    .info-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .info-hero-title { font-size: 28px; }
    .info-section { padding: 60px 0; }
}

/* ========== STRÁNKA O NÁS (příběh, autenticita) ========== */
.about-page {
    --about-max: 1200px;
    --about-narrow: 700px;
    --about-padding-y: 80px;
}
.about-container {
    max-width: var(--about-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.about-container-narrow {
    max-width: var(--about-narrow);
}

.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--about-padding-y) 1.5rem;
    background-color: #f5f6f8;
    background-size: cover;
    background-position: center;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}
.about-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.about-hero-title {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: var(--text);
}
.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0;
}

.about-section {
    padding: var(--about-padding-y) 0;
}
.about-section-light { background: #fff; }
.about-section-gray { background: #f5f6f8; }
.about-section-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
}
.about-section-title {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--text);
}
.about-section-title-light { color: #fff; }

.about-story {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text);
}
.about-story p {
    margin: 0 0 1.25rem;
}
.about-story p:last-child { margin-bottom: 0; }
.about-story-highlight {
    margin-top: 1.5rem !important;
    font-size: 1.15rem;
}

.about-lead {
    margin: 0 0 1rem;
    font-size: 1.05rem;
}
.about-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.about-check-list li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
}
.about-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.about-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.about-outcome-box {
    text-align: center;
    padding: 2rem 1.25rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.about-outcome-icon {
    display: block;
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 0.75rem;
}
.about-outcome-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.35;
}

.about-vision-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 1rem;
    color: #cbd5e1;
}
.about-vision-text:last-child { margin-bottom: 0; }

.about-cta-lead {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    text-align: center;
    color: #fff;
}
.about-cta-sub {
    margin: 0 0 1.25rem;
    text-align: center;
    color: #cbd5e1;
}
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.about-cta-actions .about-cta-btn {
    display: inline-flex;
    margin: 0;
}
.about-section-dark .about-cta-actions .btn-ghost.about-cta-btn {
    background: rgba(255, 255, 255, 0.12);
    background-image: none;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.about-section-dark .about-cta-actions .btn-ghost.about-cta-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .about-hero-title { font-size: 36px; }
    .about-outcomes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .about-hero-title { font-size: 28px; }
    .about-section { padding: 60px 0; }
}

.pro-muzea-email-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.pro-muzea-email-modal[hidden] {
    display: none;
}
.pro-muzea-email-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}
.pro-muzea-email-modal-dialog {
    position: relative;
    width: min(100%, 28rem);
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}
.pro-muzea-email-modal-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--text);
}
.pro-muzea-email-modal-text {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.pro-muzea-email-modal-form .form-control {
    width: 100%;
    margin-bottom: 0.75rem;
}
.pro-muzea-email-modal-error {
    margin: -0.25rem 0 0.75rem;
    color: #c0392b;
    font-size: 0.92rem;
}
.pro-muzea-email-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.buy-ticket-intro {
    max-width: 42rem;
    margin: 0;
}
.buy-ticket-search {
    margin-bottom: 1.5rem;
}
.buy-ticket-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}
.buy-ticket-search-row .form-group {
    flex: 1 1 220px;
    margin: 0;
}
.buy-ticket-search-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.buy-ticket-search-hint {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}
.buy-ticket-list {
    display: grid;
    gap: 0.85rem;
}
.buy-ticket-item-head {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}
.buy-ticket-thumb {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-alt, #f3f6fb);
    display: flex;
    align-items: center;
    justify-content: center;
}
.buy-ticket-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.buy-ticket-thumb-fallback {
    font-size: 1.6rem;
    line-height: 1;
}
.buy-ticket-item-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.2rem;
}
.buy-ticket-item-city {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
}
.buy-ticket-details {
    margin-top: 0.85rem;
    border-top: 1px solid rgba(44, 40, 37, 0.08);
    padding-top: 0.65rem;
}
.buy-ticket-summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}
.buy-ticket-summary::-webkit-details-marker {
    display: none;
}
.buy-ticket-summary::after {
    content: '▾';
    float: right;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}
.buy-ticket-details[open] .buy-ticket-summary::after {
    transform: rotate(180deg);
}
.buy-ticket-offers {
    margin-top: 0.75rem;
}
.buy-ticket-type-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.buy-ticket-type-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: rgba(44, 40, 37, 0.04);
}
.buy-ticket-type-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}
.buy-ticket-type-price {
    color: var(--accent);
    font-weight: 700;
}
.buy-ticket-offers-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
}
.buy-ticket-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}

/* Katalog – filtry */
.catalog-filters {
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.catalog-filters-heading {
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.catalog-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.catalog-filters-row--checks {
    align-items: center;
}
.catalog-filters-q { flex: 1 1 200px; min-width: 140px; }
.catalog-filters-city { flex: 0 1 180px; min-width: 120px; }
.catalog-filters-price { flex: 0 1 130px; min-width: 100px; }
.catalog-filter-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}
.catalog-filters-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.museum-badge-self {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: rgba(184, 92, 56, 0.12);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
}
.museum-card-meta { font-size: 0.85rem; margin-bottom: 0.65rem !important; }

/* Pro muzea – hlavní CTA pruh */
.pro-muzea-cta-bar {
    background: linear-gradient(135deg, #2c2825 0%, #3d3630 100%);
    padding: 1.25rem 0;
}
.pro-muzea-cta-bar-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.pro-muzea-cta-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #f5f5f5;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.pro-muzea-cta-bar-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
}
.pro-muzea-cta-bar-item--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-color: transparent;
}
.pro-muzea-cta-bar-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}
.pro-muzea-cta-bar-title {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Detail muzea – CTA a sticky nákup */
.museum-detail-cta {
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #fff8f4 0%, #fff 100%);
    border: 1px solid rgba(184, 92, 56, 0.22);
    border-radius: 14px;
}
.museum-detail-cta-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    margin: 0 0 1rem;
}
.museum-detail-cta-steps {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    line-height: 1.65;
}
.museum-detail-cta-steps li { margin-bottom: 0.4rem; }
.museum-detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.museum-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}
.museum-sticky-buy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.museum-sticky-buy-name {
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.museum-site-cta-wrap { margin: 1.5rem auto 0; max-width: 1200px; }
.contact-success-next { border-left: 4px solid var(--accent); }
.contact-success-next-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}
.footer-lang-switch { margin-left: 0.25rem; }

@media (max-width: 768px) {
    .pro-muzea-cta-bar-inner { grid-template-columns: 1fr; }
    .museum-sticky-buy-name { display: none; }
    .home-hero { padding-top: 60px; padding-bottom: 60px; }
    .catalog-hero { padding-top: 60px !important; padding-bottom: 60px !important; }
}
.viz-admin-tables-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
}
@media (max-width: 900px) {
    .home-hero-title { font-size: 32px; }
    .viz-admin-tables-grid { grid-template-columns: 1fr !important; }
}
