.museum-home {
    --home-bg: #f5faf7; --home-surface: #fbfdfc; --home-neutral: #eaf3ee; --home-text: #17231e;
    --home-muted: #526159; --home-border: #cfded5; --home-accent: #156a4f; --home-accent-dark: #0b3a2c;
    background: var(--home-bg); color: var(--home-text); overflow: hidden;
}

.museum-home-hero { position: relative; display: grid; min-height: min(44rem, calc(100dvh - 4.5rem)); align-items: center; overflow: hidden; background: var(--home-accent-dark); padding: clamp(3.75rem, 6vw, 5.5rem) 0 clamp(5.5rem, 8vw, 7rem); color: #f4faf7; isolation: isolate; }
.museum-home-hero::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .075) 1px, transparent 1px); background-size: clamp(3.5rem, 6vw, 5rem) clamp(3.5rem, 6vw, 5rem); content: ""; mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .72) 48%, transparent 88%); }
.museum-home-hero::after { position: absolute; z-index: -1; width: 24rem; height: 24rem; right: -10rem; bottom: -12rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; content: ""; transform: rotate(18deg); }
.museum-home-hero-grid, .museum-home-before-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.museum-home-hero-grid { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); }
.museum-home-hero-copy { position: relative; z-index: 1; max-width: 34rem; }
.museum-home-eyebrow { margin: 0 0 .9rem; color: #bfe3d2; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.museum-home h1 { max-width: 100%; margin: 0; font-size: clamp(2.6rem, 4.5vw, 3.65rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.museum-home-lead { max-width: 34rem; margin: 1.25rem 0 0; color: #d6e7df; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.museum-home-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.museum-home-btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 700; white-space: nowrap; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.museum-home-btn:hover { transform: translateY(-1px); }
.museum-home-btn:active { transform: translateY(1px); }
.museum-home-btn-primary { border-color: #f4faf7; background: #f4faf7; color: var(--home-accent-dark); }
.museum-home-btn-primary:hover { border-color: #d9eee4; background: #d9eee4; color: var(--home-accent-dark); }
.museum-home-btn-secondary { border-color: rgba(255, 255, 255, .58); background: transparent; color: #f7fbf9; }
.museum-home-btn-secondary:hover { border-color: #f7fbf9; background: rgba(255, 255, 255, .1); color: #f7fbf9; }
.museum-home :is(a, button):focus-visible { outline: 3px solid #8ed0b2; outline-offset: 3px; box-shadow: none; }
.museum-home-hero-media, .museum-home-before-media { overflow: hidden; border-radius: 16px; background: var(--home-surface); box-shadow: 0 24px 55px rgba(7, 43, 32, .16); }
.museum-home-hero-media { border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 28px 70px rgba(2, 22, 16, .34); }
.museum-home-hero-media { aspect-ratio: 16 / 9; }
.museum-home-hero-media img, .museum-home-before-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.museum-home-quick { position: relative; z-index: 1; margin-top: -2.75rem; background: linear-gradient(to bottom, transparent 0 2.75rem, var(--home-surface) 2.75rem); }
.museum-home-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--home-border); border-radius: 16px; background: var(--home-surface); box-shadow: 0 14px 36px rgba(27, 39, 34, .08); }
.museum-home-quick-item { display: flex; min-width: 0; align-items: flex-start; gap: .8rem; padding: 1.25rem; color: var(--home-text); text-decoration: none; }
.museum-home-quick-item + .museum-home-quick-item { border-left: 1px solid var(--home-border); }
.museum-home-quick-item > i:first-child { display: grid; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; place-items: center; border-radius: 10px; background: var(--home-neutral); color: var(--home-accent); font-size: .95rem; }
.museum-home-quick-item strong, .museum-home-quick-item span { display: block; }
.museum-home-quick-item strong { margin-bottom: .25rem; font-size: .9rem; }
.museum-home-quick-item span { color: var(--home-muted); font-size: .78rem; line-height: 1.45; }
.museum-home-quick-link { align-items: center; }
.museum-home-quick-link > i:last-child { margin-left: auto; color: var(--home-accent); transition: transform .18s ease; }
.museum-home-quick-link { background: #f0f7f3; }
.museum-home-quick-link:hover { background: var(--home-neutral); color: var(--home-text); }
.museum-home-quick-link:hover > i:last-child { transform: translateX(3px); }

.museum-home-section { padding: clamp(6rem, 8vw, 8rem) 0; }
.museum-home-registration { padding-top: clamp(3.5rem, 5vw, 4.5rem); background: var(--home-surface); }
.museum-home-heading { max-width: 42rem; margin-bottom: 2.5rem; }
.museum-home h2 { margin: 0; font-size: clamp(1.85rem, 3.2vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.museum-home-heading p, .museum-home-intro { margin: 1rem 0 0; color: var(--home-muted); line-height: 1.7; }
.museum-home-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.museum-home-steps li { position: relative; min-height: 12rem; padding: 1.35rem; overflow: hidden; border: 1px solid var(--home-border); border-radius: 16px; background: var(--home-surface); box-shadow: 0 12px 30px rgba(11, 58, 44, .055); }
.museum-home-steps li::before { position: absolute; width: 5rem; height: 5rem; right: -2.5rem; bottom: -2.5rem; border: 1px solid var(--home-border); border-radius: 16px; content: ""; transform: rotate(18deg); }
.museum-home-step-visual { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.museum-home-step-visual i { display: grid; width: 4rem; height: 4rem; place-items: center; border-radius: 14px; background: var(--home-neutral); color: var(--home-accent); font-size: 1.75rem; }
.museum-home-step-visual span { color: var(--home-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.museum-home-steps p { margin: 0; font-weight: 600; line-height: 1.55; }
.museum-home-empty { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: 1.25rem; border: 1px solid var(--home-border); border-radius: 16px; background: var(--home-surface); }
.museum-home-empty p { margin: 0; }
.museum-home-empty a { color: var(--home-accent); font-weight: 700; }

.museum-home-before { position: relative; border-top: 1px solid var(--home-border); background: var(--home-neutral); }
.museum-home-before::before { position: absolute; top: -1px; left: 50%; width: min(7rem, 28vw); height: 3px; background: var(--home-accent); content: ""; transform: translateX(-50%); }
main:has(.museum-home) + .museum-footer { margin-top: 0; }
.museum-home-before-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.museum-home-before-media { aspect-ratio: 3 / 2; }
.museum-home-intro { font-size: 1.05rem; }
.museum-home-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.museum-home-notes > div { padding: 1.15rem; border: 1px solid var(--home-border); border-radius: 16px; background: var(--home-surface); }
.museum-home-notes i { color: var(--home-accent); font-size: 1.1rem; }
.museum-home-notes h3 { margin: .7rem 0 .45rem; font-size: 1rem; font-weight: 700; }
.museum-home-notes p { margin: 0; color: var(--home-muted); font-size: .9rem; line-height: 1.6; }

@media (max-width: 767.98px) {
    .museum-home-hero-grid, .museum-home-before-grid { grid-template-columns: 1fr; gap: 2rem; }
    .museum-home-hero { min-height: auto; padding: 4rem 0 5.5rem; }
    .museum-home-hero::before { mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .7) 65%, transparent 100%); }
    .museum-home h1 { max-width: 13ch; }
    .museum-home-quick-grid { grid-template-columns: 1fr 1fr; }
    .museum-home-quick-item:nth-child(odd) { border-left: 0; }
    .museum-home-quick-item:nth-child(n + 3) { border-top: 1px solid var(--home-border); }
    .museum-home-section { padding: 4.5rem 0; }
    .museum-home-registration { padding-top: 3rem; }
    .museum-home-before-media { aspect-ratio: 3 / 2; }
}

@media (max-width: 575.98px) {
    .museum-home-actions { display: grid; }
    .museum-home-btn { width: 100%; }
    .museum-home-quick-grid, .museum-home-notes { grid-template-columns: 1fr; }
    .museum-home-quick-item + .museum-home-quick-item { border-top: 1px solid var(--home-border); border-left: 0; }
    .museum-home-steps li { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .museum-home *, .museum-home *::before, .museum-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
