:root {
    --orange: #f5821f;
    --orange-dark: #d9690f;
    --gray: #58595b;
    --gray-dark: #2c2d2e;
    --ink: #22262a;
    --muted: #6b7176;
    --bg: #ffffff;
    --bg-soft: #f7f7f8;
    --border: #e6e7e8;
    --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
header.site {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    z-index: 20;
}
header.site .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 700; font-size: 1.05rem; color: var(--gray-dark); letter-spacing: 0.2px; }

nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a {
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 0.95rem;
}
nav.main a:hover { color: var(--orange-dark); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch a {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 6px;
}
.lang-switch a.active { color: var(--gray-dark); }
.lang-switch span { color: var(--border); }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--gray); color: var(--gray-dark); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-dark); background: var(--bg-soft); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--gray-dark); }

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    padding: 88px 0 72px;
    border-bottom: 1px solid var(--border);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 0 0 18px;
    color: var(--gray-dark);
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-figure {
    background: var(--gray-dark);
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-figure .grid4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    width: 46%;
}
.hero-figure .grid4 div { border-radius: 8px; aspect-ratio: 1; }
.hero-figure .grid4 div:nth-child(1) { background: var(--orange); }
.hero-figure .grid4 div:nth-child(2) { background: var(--gray); }
.hero-figure .grid4 div:nth-child(3) { background: var(--gray); }
.hero-figure .grid4 div:nth-child(4) { background: var(--orange); }

/* Stats strip */
.stats { border-bottom: 1px solid var(--border); }
.stats .wrap { display: flex; gap: 48px; padding: 32px 24px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.8rem; color: var(--gray-dark); }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 0 40px; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--orange-dark);
    margin: 0 0 10px;
}
h2 { font-size: 1.9rem; margin: 0 0 12px; color: var(--gray-dark); }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}
.card .icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
}
.card h3 { margin: 0 0 10px; font-size: 1.12rem; color: var(--gray-dark); }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* About / two-column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 18px; padding: 0 0 22px; position: relative; }
.timeline li:not(:last-child)::before {
    content: ""; position: absolute; left: 27px; top: 30px; bottom: 0;
    width: 2px; background: var(--border);
}
.timeline .year {
    flex: none; width: 56px; height: 56px; border-radius: 50%;
    background: var(--bg-soft); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem; color: var(--orange-dark);
}
.timeline .body h4 { margin: 6px 0 4px; font-size: 1rem; color: var(--gray-dark); }
.timeline .body p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Ukraine / aid section */
.aid-block {
    background: var(--gray-dark);
    color: #fff;
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.aid-block .eyebrow { color: var(--orange); }
.aid-block h2 { color: #fff; }
.aid-block p { color: #d7d7d8; }
.aid-flag {
    height: 6px; width: 64px; border-radius: 3px; overflow: hidden;
    display: flex; margin-bottom: 18px;
}
.aid-flag div { flex: 1; }
.aid-flag div:first-child { background: #005bbb; }
.aid-flag div:last-child { background: #ffd500; }
.aid-figure {
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; gap: 14px; }
.contact-list li:last-child { border-bottom: none; }
.contact-list .k { color: var(--muted); width: 120px; flex: none; font-size: 0.9rem; }
.contact-list .v { color: var(--gray-dark); font-weight: 500; }
.placeholder { color: var(--orange-dark); font-style: italic; }

/* Login access section */
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.access-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px;
    text-align: center;
    background: #fff;
}
.access-card h3 { margin: 4px 0 8px; font-size: 1.05rem; color: var(--gray-dark); }
.access-card p { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; min-height: 2.6em; }

/* Footer */
footer.site {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background: var(--bg-soft);
}
footer.site .wrap {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
footer.site .brand img { height: 22px; }
footer.site p { margin: 0; color: var(--muted); font-size: 0.85rem; }
footer.site nav { display: flex; gap: 18px; }
footer.site nav a { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 860px) {
    nav.main { display: none; }
    .nav-toggle { display: block; }
    .hero .wrap { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.1rem; }
    .two-col { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .aid-block { grid-template-columns: 1fr; padding: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .access-grid { grid-template-columns: 1fr; }
    .stats .wrap { gap: 28px; }
}
