/* ===== Прозорий збір — спільні стилі ===== */
:root {
  --bg: #f6f5f0;
  --paper: #ffffff;
  --ink: #15171b;
  --ink-2: #3a3e45;
  --muted: #6c7078;
  --line: #e4e1d8;
  --line-2: #efece5;
  --accent: #0d7a5c;
  --accent-ink: #075a43;
  --accent-soft: #e2f1ea;
  --sun: #f2c94c;
  --sun-soft: #fdf4d6;
  --warn: #a4570f;
  --warn-soft: #fbeedd;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --blue: #1f5fd1;
  --blue-soft: #e6eefc;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 8px 24px -12px rgba(20, 22, 26, 0.12);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
code { background: var(--line-2); padding: 1px 6px; border-radius: 5px; font-size: 0.9em; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.page { padding: 40px 0 72px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.01em; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.6vw, 28px); letter-spacing: -0.01em; margin-bottom: 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 620px; }
.empty { padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; background: rgba(255,255,255,.5); }
.error { color: var(--danger); }

/* ---- Кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 600 15px var(--font); text-decoration: none; cursor: pointer;
  transition: transform .12s, background .15s, color .15s, border-color .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { border-color: var(--line); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.danger { border-color: var(--danger-soft); color: var(--danger); background: var(--danger-soft); }
.btn.small { height: 34px; padding: 0 14px; font-size: 14px; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16.5px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.link { font-weight: 600; text-decoration: none; color: var(--ink); }
.link:hover { color: var(--accent); }

/* ---- Шапка ---- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(246, 245, 240, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s; }
.topbar.scrolled { background: rgba(255, 255, 255, .9); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(20, 22, 26, .5); }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; flex: none; }
.brand-dot { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(var(--accent) 0 75%, var(--sun) 75% 100%); box-shadow: inset 0 0 0 6px #fff; outline: 2px solid var(--ink); outline-offset: -2px; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.nav a svg { width: 17px; height: 17px; opacity: .55; }
.nav a:hover { background: rgba(20, 22, 26, .05); color: var(--ink); }
.nav a:hover svg { opacity: 1; color: var(--accent); }
.nav-mobile-cta { display: none; }
.hdr-search { margin-left: auto; position: relative; display: flex; align-items: center; }
.hdr-search svg { position: absolute; left: 12px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.hdr-search input { width: 230px; height: 40px; border-radius: 99px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .8); padding: 0 14px 0 36px; font: 14.5px var(--font); color: var(--ink); outline: none; transition: width .25s, border-color .15s, box-shadow .15s; }
.hdr-search input:focus { width: 300px; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-cta .btn svg { width: 16px; height: 16px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .hdr-search input { width: 170px; } .hdr-search input:focus { width: 220px; } }
@media (max-width: 900px) {
  .topbar-in { height: 62px; gap: 10px; }
  .burger { display: flex; }
  .hdr-search { display: none; }
  .nav-cta .link, .nav-cta .btn { display: none; }
  .nav-cta { margin-left: auto; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 68px; flex-direction: column; gap: 2px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(20, 22, 26, .35); }
  .menu-open .nav { display: flex; animation: drop .18s ease-out; }
  .nav a { padding: 13px 14px; font-size: 16px; }
  .nav a svg { opacity: 1; color: var(--accent); }
  .nav-mobile-cta { display: grid; gap: 8px; padding: 8px 4px 4px; border-top: 1px solid var(--line-2); margin-top: 6px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---- Підвал ---- */
.footer { background: #0a2a21; color: rgba(255, 255, 255, .72); padding: 64px 0 28px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; right: -200px; top: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 76, .14), transparent 65%); }
.footer .wrap { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand-dot { box-shadow: inset 0 0 0 6px #0a2a21; outline-color: #fff; }
.footer-slogan { font: 600 22px var(--display); color: var(--sun); margin: 18px 0 8px; letter-spacing: -.02em; }
.footer-desc { font-size: 14.5px; max-width: 300px; margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.footer-col a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 15px; transition: color .15s; }
.footer-col a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.ua-flag { display: inline-block; width: 16px; height: 11px; border-radius: 2px; background: linear-gradient(#0057b7 50%, #ffd700 50%); vertical-align: -1px; margin-left: 4px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---- Блок «Донорам» ---- */
.donors { padding-top: 72px; }
.donors-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; background: #fff; border-radius: 32px; padding: 44px; box-shadow: 0 40px 80px -56px rgba(20, 22, 26, .55); position: relative; overflow: hidden; }
.donors-card::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 65%); }
.donors-card > * { position: relative; z-index: 1; }
.big-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 6px 6px 6px 16px; margin: 26px 0 16px; box-shadow: 6px 6px 0 var(--sun); }
.big-search > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.big-search input[type=search] { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 16.5px var(--font); color: var(--ink); height: 46px; }
.big-search .btn { height: 46px; border-radius: 13px; }
.quick-links { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-links a { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 99px; transition: background .15s, color .15s; }
.quick-links a svg { width: 15px; height: 15px; color: var(--blue); }
.quick-links a:hover { background: var(--sun-soft); color: var(--ink); }
.donors-tips { background: var(--bg); border-radius: 24px; padding: 28px; align-self: start; }
.donors-tips h3 { font: 600 18px var(--display); margin-bottom: 16px; letter-spacing: -.01em; }
.donors-tips ol { list-style: none; padding: 0; margin: 0; counter-reset: t; display: grid; gap: 14px; }
.donors-tips li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.donors-tips li::before { content: counter(t); grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 15px var(--display); }
.donors-tips li b { color: var(--ink); }
.donors-tips li span { color: var(--ink-2); font-size: 14.5px; }
.pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.pstats div { background: var(--ink); color: #fff; border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.pstats div:nth-child(2) { background: var(--accent); }
.pstats div:nth-child(3) { background: var(--sun); color: #2b2205; }
.pstats div:nth-child(4) { background: #fff; color: var(--ink); }
.pstats strong { font: 700 clamp(22px, 2.6vw, 30px) var(--display); letter-spacing: -.03em; }
.pstats span { font-size: 14px; opacity: .8; }
@media (max-width: 900px) { .donors-card { grid-template-columns: 1fr; padding: 26px; } .pstats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .big-search { flex-wrap: wrap; padding: 6px; } .big-search > svg { display: none; } .big-search input[type=search] { padding: 0 10px; } .big-search .btn { width: 100%; } }

/* ---- Каталог ---- */
.cat-hero { background: linear-gradient(135deg, #0b4a38, #0d7a5c 60%, #1fa37c); color: #fff; padding: 56px 0 80px; position: relative; overflow: hidden; }
.cat-hero::after { content: ''; position: absolute; right: -140px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 76, .35), transparent 65%); }
.cat-hero .wrap { position: relative; z-index: 1; }
.cat-hero .eyebrow { color: var(--sun); }
.cat-hero h1 { font: 700 clamp(30px, 4.6vw, 54px)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 12px; max-width: 760px; }
.cat-sub { font-size: 18px; opacity: .85; max-width: 640px; margin: 0; }
.cat-hero .big-search { max-width: 720px; border-color: #fff; box-shadow: 6px 6px 0 var(--sun); margin-bottom: 0; }
.cat-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: 20px; padding: 10px; margin-top: -30px; position: relative; z-index: 2; box-shadow: 0 20px 40px -30px rgba(20, 22, 26, .5); }
.chip-tabs { display: inline-flex; background: var(--bg); border-radius: 14px; padding: 4px; }
.chip-tab { padding: 8px 16px; border-radius: 11px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 14.5px; }
.chip-tab.on { background: var(--ink); color: #fff; }
.chip-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.chip-toggle svg { width: 15px; height: 15px; color: var(--blue); }
.chip-toggle.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.cat-sort { margin-left: auto; }
.cat-sort label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.cat-sort select { height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 14px var(--font); padding: 0 10px; color: var(--ink); }
.cat-count { color: var(--muted); margin: 22px 0 16px; font-size: 15px; }
.cat-count b { color: var(--ink); }
.cat-more { text-align: center; margin-top: 30px; }
.cat-empty { background: #fff; border-radius: 26px; padding: 48px 24px; text-align: center; }
.cat-empty-ic { width: 72px; height: 72px; border-radius: 22px; background: var(--sun-soft); color: var(--warn); display: grid; place-items: center; margin: 0 auto 16px; }
.cat-empty h2 { font: 600 22px var(--display); }
.cat-empty p { color: var(--ink-2); }
.cat-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 28px; padding: 32px 36px; margin: 56px 0 72px; }
.cat-cta h2 { font: 600 24px var(--display); margin: 0 0 6px; }
.cat-cta p { margin: 0; opacity: .75; max-width: 560px; }
@media (max-width: 700px) { .cat-sort { margin-left: 0; width: 100%; } .cat-sort label { justify-content: space-between; } }

.fr-card-trust { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-weight: 600; padding-top: 4px; border-top: 1px dashed var(--line); margin-top: 2px; }
.fr-card-trust span { display: inline-flex; align-items: center; gap: 4px; }
.fr-card-trust svg { width: 14px; height: 14px; }
.fr-card-trust .ok { color: var(--accent); }

/* ---- Головна ---- */
.section { padding: 84px 0; }
.section.alt { background: #efede6; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.center-head { text-align: center; margin-bottom: 36px; }
.h2.big { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 16px; }
.btn svg { width: 18px; height: 18px; }
.btn.sun { background: var(--sun); border-color: var(--sun); color: #2b2205; }
.btn.sun:hover { background: #f6d56b; border-color: #f6d56b; }

.h-hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.h-hero::before { content: ''; position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 76, .35), transparent 62%); }
.h-hero::after { content: ''; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(13, 122, 92, .16), transparent 62%); }
.h-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.h-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 22px; box-shadow: var(--shadow); }
.h-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.h-title { font: 700 clamp(40px, 6.2vw, 76px)/1.02 var(--display); letter-spacing: -.04em; margin: 0 0 22px; }
.h-mark { position: relative; white-space: nowrap; color: var(--accent); }
.h-mark::after { content: ''; position: absolute; left: -4px; right: -6px; bottom: .06em; height: .26em; background: var(--sun); border-radius: 6px; z-index: -1; transform: rotate(-1.5deg); }
.h-lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 560px; line-height: 1.55; }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.h-proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.h-proof li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.h-proof svg { color: var(--accent); flex: none; }
.h-proof b { color: var(--ink); }

.h-visual { position: relative; min-height: 560px; }
.h-photo { position: absolute; inset: 0 0 60px 70px; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20, 22, 26, .5); }
.h-photo img { width: 100%; height: 100%; object-fit: cover; }
.h-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(10, 40, 30, .35)); }
.h-card { position: absolute; left: 0; bottom: 0; width: 330px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(20, 22, 26, .45); animation: floaty 6s ease-in-out infinite; }
.h-card-cover { height: 132px; position: relative; }
.h-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.h-card-cover .badge { position: absolute; left: 12px; top: 12px; background: #fff; }
.h-card-body { padding: 16px 18px 18px; }
.h-card-org { font-size: 12.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.h-card-title { font: 600 17px var(--display); margin: 6px 0 12px; letter-spacing: -.01em; }
.h-card-sum { display: flex; align-items: baseline; gap: 7px; margin-bottom: 9px; }
.h-card-sum strong { font: 600 22px var(--display); letter-spacing: -.02em; }
.h-card-sum span { color: var(--muted); font-size: 13px; }
.h-card-sum em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--accent); }
.h-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.h-card-stats span { background: var(--bg); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; }
.h-card-stats b { color: var(--ink); font-size: 14.5px; }
.h-float { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(20, 22, 26, .45); font-size: 14px; display: flex; align-items: center; gap: 10px; padding: 11px 16px; }
.h-toast { right: 18px; top: 26px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 99px; animation: floaty 5s ease-in-out infinite .6s; }
.h-toast .pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 1.8s infinite; }
.h-receipt { right: -6px; bottom: 118px; animation: floaty 7s ease-in-out infinite 1.2s; }
.h-receipt svg { width: 22px; height: 22px; color: var(--accent); background: var(--accent-soft); padding: 7px; border-radius: 10px; box-sizing: content-box; }
.h-receipt span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.h-receipt b { color: var(--ink); font-size: 14px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
@media (max-width: 960px) {
  .h-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .h-visual { min-height: 480px; }
  .h-photo { inset: 0 0 70px 40px; }
  .h-card { width: 290px; }
}
@media (max-width: 520px) {
  .h-visual { min-height: 440px; }
  .h-photo { inset: 0 0 120px 0; }
  .h-card { left: 12px; width: calc(100% - 24px); }
  .h-receipt { display: none; }
  .h-proof { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .h-card, .h-float { animation: none; } }

.h-strip { background: var(--ink); color: #fff; }
.h-strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.h-strip-in div { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid rgba(242, 201, 76, .7); }
.h-strip strong { font: 600 18px var(--display); }
.h-strip span { color: rgba(255, 255, 255, .65); font-size: 14px; }
@media (max-width: 760px) { .h-strip-in { grid-template-columns: 1fr 1fr; } }

.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h-split-photo { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: 0 40px 80px -44px rgba(20, 22, 26, .5); }
.h-split-photo img { width: 100%; height: 100%; object-fit: cover; }
.h-split-note { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; font-size: 14px; color: var(--ink-2); }
.h-split-note b { color: var(--ink); font-size: 15.5px; }
.h-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.h-checks li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 50px; position: relative; color: var(--ink-2); }
.h-checks li::before { content: '✓'; position: absolute; left: 16px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.h-checks b { color: var(--ink); }
@media (max-width: 900px) { .h-split { grid-template-columns: 1fr; gap: 36px; } .h-split-photo { aspect-ratio: 4/3; } }

.h-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-feat { --c: var(--accent); --bg2: var(--accent-soft); background: #fff; border-radius: 24px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.h-feat:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20, 22, 26, .4); }
.h-feat > svg { width: 26px; height: 26px; padding: 12px; border-radius: 16px; background: var(--bg2); color: var(--c); box-sizing: content-box; margin-bottom: 18px; }
.h-feat h3 { font: 600 18px var(--display); letter-spacing: -.01em; }
.h-feat p { color: var(--ink-2); font-size: 15px; margin: 0; }
.c-sun { --c: #a06a00; --bg2: #fdf0c8; }
.c-blue { --c: #1f5fd1; --bg2: #e3ecfd; }
.c-coral { --c: #c2410c; --bg2: #ffe6d9; }
@media (max-width: 900px) { .h-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .h-feats { grid-template-columns: 1fr; } }

.h-how { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.h-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.h-steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.h-steps li:last-child { border-bottom: 0; }
.h-steps li > span { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--sun); display: grid; place-items: center; font: 700 18px var(--display); }
.h-steps h3 { font-size: 17.5px; margin-bottom: 4px; }
.h-steps p { color: var(--ink-2); margin: 0; font-size: 15px; }
.h-how-photo { border-radius: 30px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 80px -44px rgba(20, 22, 26, .5); transform: rotate(1.5deg); }
.h-how-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .h-how { grid-template-columns: 1fr; } .h-how-photo { aspect-ratio: 16/10; transform: none; } }

.price-grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.price-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 26px; padding: 30px; box-shadow: 10px 10px 0 var(--sun); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.price strong { font-family: var(--display); font-size: 50px; letter-spacing: -.04em; }
.price span { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 800; top: 3px; }
.price-card .small { margin: 12px 0 0; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.faq { max-width: 860px; }
.faq details { background: var(--paper); border-radius: 18px; padding: 0 24px; margin-bottom: 10px; border: 1px solid transparent; transition: border-color .15s; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

.h-final { position: relative; overflow: hidden; color: #fff; text-align: center; }
.h-final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-final::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 44, 35, .82), rgba(8, 44, 35, .92)); }
.h-final-in { position: relative; z-index: 1; padding: 96px 0; }
.h-final h2 { font: 700 clamp(28px, 4vw, 48px)/1.08 var(--display); letter-spacing: -.03em; max-width: 760px; margin: 0 auto 14px; }
.h-final p { color: rgba(255, 255, 255, .8); font-size: 18px; margin-bottom: 28px; }

/* ---- Картки зборів ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.fr-card { background: var(--paper); border: 0; border-radius: 22px; box-shadow: 0 18px 40px -30px rgba(20,22,26,.45); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.fr-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fr-card-cover { aspect-ratio: 16/9; background: var(--line-2); position: relative; }
.fr-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.fr-card-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent-soft), var(--sun-soft)); }
.fr-card-cover .badge { position: absolute; top: 10px; left: 10px; }
.fr-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; }
.fr-card-pct { position: absolute; right: 16px; top: -18px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 99px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.fr-card.demo { cursor: default; }
.fr-card.demo:hover { transform: none; }
.fr-card-org { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.fr-card h3 { font-size: 17px; margin: 0; flex: 1; }
.fr-card-nums { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--muted); }
.fr-card-nums strong { color: var(--ink); font-size: 17px; }

.bar { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #19a37b); min-width: 4px; }
.bar.big { height: 12px; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--line-2); color: var(--ink-2); vertical-align: middle; font-family: var(--font); letter-spacing: 0; }
.badge.verified { background: var(--blue-soft); color: var(--blue); }
.badge.closed { background: var(--ink); color: #fff; }
.badge.draft { background: var(--sun-soft); color: var(--warn); }
.badge.active { background: var(--accent-soft); color: var(--accent-ink); }
.badge.hidden, .badge.danger { background: var(--danger-soft); color: var(--danger); }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--line-2); color: var(--ink-2); vertical-align: 1px; }

.notice { background: var(--blue-soft); color: #173e86; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; font-size: 15px; }
.notice.warn { background: var(--sun-soft); color: #6c4a05; }
.notice.danger { background: var(--danger-soft); color: var(--danger); }
.notice.ok { background: var(--accent-soft); color: var(--accent-ink); }
.notice a { color: inherit; font-weight: 700; }

/* ---- Сторінка збору ---- */
.fr-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.fr-hero.no-cover { grid-template-columns: 1fr; max-width: 760px; }
.fr-cover { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: var(--line-2); position: sticky; top: 84px; }
.fr-cover img { width: 100%; height: 100%; object-fit: cover; }
.fr-org { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-bottom: 14px; flex-wrap: wrap; }
.fr-org-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.fr-org-logo img { width: 100%; height: 100%; object-fit: cover; }
.fr-org b { display: block; font-size: 15px; }
.fr-org small { color: var(--muted); font-size: 13px; }
.fr-title { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; margin-bottom: 20px; }
.progress-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.progress-card .badge { justify-self: start; }
.amounts { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amounts strong { font-family: var(--display); font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; }
.amounts span { color: var(--muted); }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.progress-meta b { color: var(--ink); }
.progress-card .small { margin: -6px 0 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line-2); padding-top: 14px; }
@media (max-width: 860px) { .fr-hero { grid-template-columns: 1fr; } .fr-cover { position: static; aspect-ratio: 16/9; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 10px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat strong { font-size: 21px; letter-spacing: -0.01em; }
.stat small { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

.spark { margin: 18px 0 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 10px; }
.spark svg { width: 100%; height: 90px; display: block; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.spark-area { fill: var(--accent-soft); }
.spark figcaption { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }

.about { margin: 34px 0 10px; max-width: 760px; }
.prose p { margin-bottom: .9em; }
.prose a { word-break: break-word; }

.tabs { display: flex; gap: 6px; margin: 34px 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 12px 14px; font: 700 15.5px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button span { background: var(--line-2); border-radius: 99px; padding: 1px 8px; font-size: 12.5px; margin-left: 4px; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }

.report { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; max-width: 860px; }
.report time { font-size: 13px; color: var(--muted); font-weight: 700; }
.report h3 { font-size: 19px; margin-top: 4px; }

.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumb { width: 86px; height: 86px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--line-2); flex: none; cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.report .thumb { width: 132px; height: 132px; }
.docs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.docs a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; background: var(--bg); padding: 7px 12px; border-radius: 8px; }
.docs a:hover { color: var(--accent); }

.expenses { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.exp { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line-2); align-items: start; }
.exp:first-child { border-top: 0; }
.exp-date { color: var(--muted); font-size: 14px; padding-top: 2px; }
.exp-title { font-weight: 700; }
.exp-note { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.exp-nofile { margin-top: 6px; }
.exp-amount { font-weight: 800; font-size: 17px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.has-receipt { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; }
.exp .thumb { width: 64px; height: 64px; }
.exp.total { background: var(--bg); }
@media (max-width: 640px) { .exp { grid-template-columns: 1fr auto; } .exp-date { grid-column: 1 / -1; padding: 0; } }

.donations { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); max-width: 760px; }
.donations li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.donations li:first-child { border-top: 0; }
.donations p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }
.don-right { text-align: right; display: flex; flex-direction: column; }
.don-right strong { color: var(--accent-ink); }
.don-right small { color: var(--muted); }
.trust-note { margin-top: 34px; max-width: 760px; }

/* ---- Профіль організації ---- */
.org-head { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.org-logo { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font: 700 38px var(--display); flex: none; border: 1px solid var(--line); }
.org-logo img { width: 100%; height: 100%; object-fit: cover; }
.org-head .h1 { margin-bottom: 8px; }
.org-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.org-meta b { color: var(--ink); }
.org-head + .prose { margin-bottom: 34px; }
@media (max-width: 560px) { .org-head { flex-direction: column; align-items: flex-start; } }

.legal h2 { font-size: 19px; margin-top: 28px; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; background: rgba(12, 13, 15, .9); z-index: 100; display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lb-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; line-height: 1; }

/* ---- Перевірка Turnstile ---- */
body.gate { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.gate-box { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; max-width: 420px; text-align: center; box-shadow: var(--shadow); }
.gate-box h1 { font-family: var(--display); font-size: 22px; font-weight: 600; margin-top: 18px; }
.gate-box .cf-turnstile { display: flex; justify-content: center; margin-top: 18px; min-height: 66px; }
.brand-mark { font-family: var(--display); font-weight: 600; color: var(--accent); }

.toast-copy { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; font-weight: 700; z-index: 120; }

/* ---- Правові документи ---- */
.legal-hero { background: linear-gradient(135deg, #0b4a38, #0d7a5c 70%, #1fa37c); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.legal-hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 76, .35), transparent 65%); }
.legal-hero .eyebrow { color: var(--sun); }
.legal-hero h1 { font: 700 clamp(30px, 4.4vw, 50px)/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 12px; }
.legal-sub { font-size: 18px; opacity: .85; margin: 0 0 18px; }
.legal-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; opacity: .9; }
.legal-meta a { color: #fff; font-weight: 700; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 40px 0 80px; align-items: start; }
.legal-toc { position: sticky; top: 88px; margin-top: -84px; }
.legal-toc nav { background: #fff; border-radius: 22px; padding: 18px 12px; box-shadow: 0 20px 40px -28px rgba(20, 22, 26, .4); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 110px); overflow: auto; }
.legal-toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 10px 8px; }
.legal-toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.legal-toc a span { color: var(--accent); font-weight: 800; min-width: 18px; }
.legal-toc a:hover { background: var(--bg); color: var(--ink); }
.legal-body { max-width: 780px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-body section { background: #fff; border-radius: 22px; padding: 26px 30px; margin-bottom: 14px; scroll-margin-top: 88px; }
.legal-body h2 { display: flex; gap: 12px; align-items: center; font: 600 20px var(--display); color: var(--ink); letter-spacing: -.01em; margin: 0 0 14px; }
.legal-body h2 span { width: 34px; height: 34px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; flex: none; }
.legal-body p { margin: 0 0 .8em; }
.legal-body ul { margin: 0 0 .8em; padding-left: 22px; }
.legal-body li { margin-bottom: .35em; }
.legal-body li::marker { color: var(--accent); }
.legal-body b { color: var(--ink); }
.req { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.req dt { color: var(--muted); font-size: 14px; }
.req dd { margin: 0; font-weight: 700; color: var(--ink); }
mark.todo { background: var(--sun-soft); color: var(--warn); border-radius: 6px; padding: 1px 6px; font-weight: 600; font-size: .92em; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; margin-top: -60px; }
  .legal-toc nav { max-height: none; }
  .legal-body section { padding: 22px 20px; }
  .req { grid-template-columns: 1fr; gap: 2px; }
  .req dd { margin-bottom: 10px; }
}
