:root {
    --bg-page: #f8f9fa;
    --bg-alt: #f1f3f6;
    --bg-hero: #e9e5df;
    --border: #e0e0e0;
    --border-strong: #bdbdbd;
    --text: #222;
    --text-soft: #5a5957;
    --accent: #0057b8;
    --accent-alt: #ffd700;
    --focus-ring: 0 0 0 .2rem rgba(0,87,184,.15);
    --radius: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,.10);
    --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
    --font-serif: 'Georgia', serif;
    --max-width-narrow: 760px;
}

body {
    background: var(--bg-page);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.08rem;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.2rem;
}

.site-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: .5px;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
}

.title-blue {
    color: var(--accent);
}
.title-gold {
    color: var(--accent-alt);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-soft);
    font-size: .95rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .7rem 1.1rem;
    border-radius: var(--radius);
    transition: color .25s,background .25s;
    font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent);
    background: rgba(0,87,184,.08);
}

.lang-switch {
    margin-left: auto;
    display: flex;
    gap: .6rem;
}

.btn-lang {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-soft);
    padding: .5rem 1rem;
    font-size: .9rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: background .25s,color .25s,border-color .25s;
    line-height: 1;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.btn-lang.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    font-weight: 600;
}

.btn-lang:not(.active):hover {
    background: var(--bg-alt);
    color: var(--accent);
}

.flag {
    width: 22px;
    height: 14px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset;
    border-radius: 3px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 0.3em;
    vertical-align: middle;
}

.flag-de {
    background: linear-gradient(to bottom, #000 0 33.4%, #dd0000 33.4% 66.7%, #ffce00 66.7% 100%);
}

.flag-ua {
    background: linear-gradient(to bottom, #005bbb 0 50%, #ffd500 50% 100%);
}

.hero {
    background: var(--bg-hero);
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: grid;
    gap: 4rem;
    align-items: start;
}

@media (min-width:920px) {
    .hero-inner {
        grid-template-columns: 1fr 480px;
    }
}

.hero-text {
    max-width: 640px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem,4vw,3rem);
    line-height: 1.1;
    margin: 0 0 1.2rem;
    font-weight: 700;
    color: #1e1e1c;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.btn-hero {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    letter-spacing: .7px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: background .25s, box-shadow .25s;
    text-decoration: none;
}

.btn-hero:hover {
    background: #003e7e;
    box-shadow: var(--shadow-md);
}

.exhibit-img {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: .4px;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #22221f;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: .8rem 0 0;
    background: linear-gradient(90deg,var(--accent) 0%,var(--accent-alt) 100%);
    border-radius: 2px;
}

.leadish {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0 0 1.2rem;
}

.faq-items {
    display: grid;
    gap: 1.2rem;
    margin-top: .7rem;
}

.faq-item {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    transition: border-color .25s, box-shadow .25s;
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "›";
    margin-left: auto;
    transform: rotate(0deg);
    transition: transform .25s;
    font-weight: 400;
    color: var(--text-soft);
}

.faq-item[open] summary::after {
    transform: rotate(90deg);
}

.faq-body {
    margin-top: .7rem;
    font-size: .98rem;
    line-height: 1.6;
    color: var(--text-soft);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .25s;
}

a:hover {
    color: #003e7e;
    text-decoration: underline;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 3.2rem 0 3.6rem;
    margin-top: auto;
    font-size: .95rem;
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
}

.footer-support {
    text-align: center;
    margin-top: 1.5rem;
}

.footer-support-text {
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
    font-weight: 500;
}

.footer-logo {
    display: inline-block;
    margin: 0 1.2rem;
    vertical-align: middle;
}

.footer-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.10));
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

@media (max-width:920px) {
    .hero {
        padding: 2.5rem 0 1.8rem;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-inner {
        flex-wrap: wrap;
    }
    .nav-links {
        flex: 1 1 100%;
    }
    .lang-switch {
        margin-left: 0;
    }
    .section {
        padding: 2rem 0;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .footer-support-text {
        font-size: .95rem;
    }
}
