/* ═══════════════════════════════════════════════════════════════
   «Детский дар» — тёплая, живая, добрая палитра
   Персик · Крем · Небесный · Солнечный · Сердечко
   Шрифты: системные rounded — ноль внешних CDN (изоляция)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* «Крафтовая галерея» — приглушённая тёплая палитра */
  --cream: #FAF3E8;
  --paper: #FFFDF8;
  --peach: #E1906A;
  --peach-dark: #C06A44;
  --sky: #6AAFD0;
  --sky-dark: #4E8FB4;
  --sun: #EFC45C;
  --heart: #D64E6B;
  --leaf: #7CA98B;
  --ink: #3D352C;
  --ink-soft: #857768;
  --shadow-sm: 0 1px 2px rgba(61, 53, 44, .06), 0 2px 8px rgba(61, 53, 44, .06);
  --shadow: 0 2px 6px rgba(61, 53, 44, .07), 0 14px 34px rgba(61, 53, 44, .12);
  --shadow-lg: 0 4px 12px rgba(61, 53, 44, .08), 0 24px 56px rgba(61, 53, 44, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Фон: мягкие пятна света + бумажное зерно ─────────────────── */
.sky-scene { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob.b1 {
  top: -140px; right: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(239, 196, 92, .16) 0%, rgba(239, 196, 92, .08) 38%, transparent 74%);
}
.blob.b2 {
  top: 24%; left: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(106, 175, 208, .12) 0%, rgba(106, 175, 208, .06) 40%, transparent 74%);
}
.blob.b3 {
  bottom: -200px; right: 8%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(225, 144, 106, .10) 0%, rgba(225, 144, 106, .05) 40%, transparent 74%);
}

/* ── Природа: тёплая жизнь, акварельно ────────────────────────── */

/* солнце: светлое пятно, дышит */
.sun-glow {
  position: absolute; top: 112px; right: 6%;
  width: 168px; height: 168px; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 224, 130, .95) 0%, rgba(239, 196, 92, .55) 38%, rgba(239, 196, 92, .18) 62%, transparent 76%);
  box-shadow: 0 0 70px 26px rgba(239, 196, 92, .30);
  animation: sun-breathe 9s ease-in-out infinite;
  z-index: 2;
}
@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* живые облака (lottie) */
.scene-clouds {
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%; height: 100vh;
  pointer-events: none; opacity: .95;
  transform: translateY(-18vh);
}
/* облака: медленные мягкие силуэты */
.cloudlet {
  position: absolute; height: 34px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); filter: blur(6px);
  animation: cloud-drift linear infinite;
}
.cloudlet::before {
  content: ''; position: absolute; left: 18%; bottom: 45%;
  width: 46%; height: 150%; border-radius: 999px; background: inherit;
}
.cloudlet.c1 { top: 11%; width: 170px; animation-duration: 170s; }
.cloudlet.c2 { top: 26%; width: 120px; animation-duration: 210s; animation-delay: -80s; opacity: .7; }
.cloudlet.c3 { top: 6%;  width: 95px;  animation-duration: 150s; animation-delay: -40s; opacity: .55; }
@keyframes cloud-drift {
  from { transform: translateX(-260px); }
  to   { transform: translateX(calc(100vw + 260px)); }
}

/* птички: пара тонких галочек через экран */
.bird {
  position: absolute; width: 22px; height: 10px; opacity: 0;
  animation: bird-fly 46s linear infinite;
}
.bird svg { width: 100%; height: 100%; color: rgba(61, 53, 44, .45); }
.bird.p2 { animation-duration: 63s; animation-delay: -28s; transform: scale(.8); }
@keyframes bird-fly {
  0%   { transform: translate(0, 0); opacity: 0; }
  2%   { opacity: .8; }
  48%  { transform: translate(46vw, -46px); }
  92%  { opacity: .8; }
  100% { transform: translate(94vw, -12px); opacity: 0; }
}

/* трава: живая полоса (lottie) */
.grass {
  position: fixed; left: 0; right: 0; bottom: 0; height: 200px;
  pointer-events: none; z-index: 0;
}
.grass-lottie { width: 100%; height: 100%; }
.grass, .scene-clouds, .kid, .sun-glow { will-change: transform; }

/* бумажное зерно поверх всего — ОТКЛЮЧЕНО для плавности сцены (body::after с multiply съедал fps) */

/* ── Общее ────────────────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

.page { position: relative; z-index: 1; }

h1, h2, h3 { font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; letter-spacing: -.02em; }

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

/* ── Шапка ────────────────────────────────────────────────────── */
.topbar {
  background: rgba(250, 243, 232, .86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(61, 53, 44, .08);
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
}

.topbar .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; }
.logo-ico { width: 24px; height: 24px; color: var(--peach-dark); flex: none; }
.beat-ico { width: 20px; height: 20px; color: #fff; flex: none; }
.h-ico { width: 14px; height: 14px; color: var(--heart); vertical-align: -2px; }
.logo .badge {
  font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  background: rgba(214, 78, 107, .10); color: var(--heart);
  border: 1px solid rgba(214, 78, 107, .22);
  border-radius: 999px; padding: 3px 11px;
}

.nav { margin-left: auto; display: flex; gap: 18px; font-weight: 600; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink-soft); position: relative; padding: 4px 2px; transition: color .2s ease; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--peach); border-radius: 2px;
  transition: right .25s ease;
}
.nav a:hover { color: var(--peach-dark); text-decoration: none; }
.nav a:hover::after { right: 0; }


/* ── Герой ────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 64px 20px 40px; }

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.15;
}

.hero h1 .hl {
  background: linear-gradient(transparent 66%, rgba(239, 196, 92, .5) 66%, rgba(239, 196, 92, .5) 94%, transparent 94%);
  padding: 0 6px;
  border-radius: 3px 8px 2px 6px / 7px 3px 6px 2px;
}

.hero p.sub { color: var(--ink-soft); font-size: 1.15rem; max-width: 640px; margin: 14px auto 26px; }

/* Таймер */
.timer-box {
  display: inline-flex; gap: 14px; align-items: center;
  background: var(--paper); border: 1px solid rgba(61, 53, 44, .10);
  border-radius: var(--radius); padding: 16px 28px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap; justify-content: center;
}

.timer-box .lbl { font-weight: 700; color: var(--peach-dark); }

.timer-box .cell { text-align: center; min-width: 64px; }
.timer-box .num {
  display: block; font-size: 1.9rem; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.timer-box .cap { font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }

/* Большая кнопка сердца */
.btn-heart {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px;
  background: linear-gradient(135deg, #D95773, #BC4260);
  color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: .01em;
  padding: 17px 36px; border-radius: 16px;
  border: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(214, 78, 107, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .18s ease, box-shadow .22s ease;
  text-decoration: none;
}
.btn-heart:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214, 78, 107, .36), inset 0 1px 0 rgba(255, 255, 255, .22); text-decoration: none; }
.btn-heart:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(214, 78, 107, .25); }
.btn-heart .beat { display: inline-block; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } 36% { transform: scale(1.18); } 48% { transform: scale(1); } }

.hint { margin-top: 12px; color: var(--ink-soft); font-size: .9rem; }

/* ── Секции ───────────────────────────────────────────────────── */
.section { padding: 46px 0; }

.section h2 {
  text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 8px;
}

.section p.lead { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 30px; }

/* ── Сетка работ ──────────────────────────────────────────────── */
.works-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.work-card {
  background: var(--paper); border-radius: var(--radius);
  padding: 16px 16px 12px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(61, 53, 44, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.work-card:nth-child(odd)  { transform: rotate(-1.1deg); }
.work-card:nth-child(even) { transform: rotate(1.1deg); }
.work-card:hover { transform: rotate(0) translateY(-6px) scale(1.01); border-color: rgba(239, 196, 92, .55); box-shadow: var(--shadow-lg); z-index: 2; }

.work-card .frame {
  display: block;
  background: #fff; border: 10px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(61, 53, 44, .10), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(61, 53, 44, .05);
  border-radius: 10px; overflow: hidden;
}

.work-card img, .work-card svg { display: block; width: 100%; height: auto; }

.work-card img {
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .25s ease;
}
.work-card:hover img { transform: scale(1.04); }
/* портретные работы (семья Вики) — вписываем целиком на белый лист */
.work-card img.tall { object-fit: contain; background: #fff; }
.work-card:hover img.tall { transform: scale(1.02); }

.work-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 8px; }
.work-meta .who { font-family: var(--font-hand); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1; }
.work-meta .age { color: var(--ink-soft); font-size: .8rem; }

.votes {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border-radius: 999px; padding: 5px 12px;
  font-weight: 700; color: var(--heart); font-size: .9rem;
  white-space: nowrap;
}

.medal {
  position: absolute; top: -12px; left: -8px;
  font-size: 1.5rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.tag-top {
  position: absolute; top: -12px; right: 12px;
  background: var(--heart); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; box-shadow: var(--shadow);
}

/* ── Лидерборд ────────────────────────────────────────────────── */
.board { max-width: 680px; margin: 0 auto; display: grid; gap: 12px; }

.board .row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  background: var(--paper); border-radius: 16px; padding: 10px 16px;
  box-shadow: 0 3px 10px rgba(74,63,53,.07);
}

.board .place { font-size: 1.3rem; text-align: center; }
.board .name { font-weight: 700; }
.board .bar { height: 10px; background: var(--cream); border-radius: 99px; overflow: hidden; margin-top: 5px; }
.board .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sun), var(--peach)); }
.board .num { font-weight: 700; color: var(--peach-dark); white-space: nowrap; }

/* ── Как работает грант ───────────────────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.step {
  background: var(--paper); border-radius: var(--radius); padding: 24px;
  text-align: center; box-shadow: var(--shadow);
}

.step .ico { display: flex; justify-content: center; margin-bottom: 12px; }
.step .ico svg { width: 34px; height: 34px; color: var(--peach-dark); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ── Футер ────────────────────────────────────────────────────── */
footer {
  margin-top: 40px; padding: 30px 0 34px;
  border-top: 1px solid rgba(61, 53, 44, .08);
  text-align: center; color: var(--ink-soft); font-size: .9rem;
  position: relative; z-index: 1;
}

footer .hearts span { display: inline-block; }
footer .hearts span:nth-child(2) { animation-delay: .3s; }
footer .hearts span:nth-child(3) { animation-delay: .6s; }

/* ── Мобильная адаптация ──────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { margin-left: 0; }
  .hero { padding-top: 40px; }
  .timer-box { padding: 12px 16px; gap: 10px; }
  .timer-box .cell { min-width: 52px; }
  .timer-box .num { font-size: 1.4rem; }
  .work-card:nth-child(odd), .work-card:nth-child(even) { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ГАЛЕРЕЯ — крупные карточки с названиями работ
   ═══════════════════════════════════════════════════════════════ */

.gal-grid {
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gal-card {
  background: var(--paper); border-radius: var(--radius);
  padding: 20px 20px 16px; box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .2s ease, border-color .2s ease;
  scroll-margin-top: 90px;
}

.gal-card:nth-child(3n+1) { transform: rotate(-.8deg); }
.gal-card:nth-child(3n+2) { transform: rotate(.9deg); }
.gal-card:hover { transform: rotate(0) translateY(-6px); border-color: var(--sun); z-index: 2; position: relative; }

.gal-card .frame {
  display: block; background: #fff; border: 8px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(74,63,53,.08), 0 4px 14px rgba(74,63,53,.1);
  border-radius: 14px; overflow: hidden;
}

.gal-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gal-card img.tall { object-fit: contain; }

.gal-title { font-weight: 700; font-size: 1.08rem; margin-top: 14px; }
.gal-title .q { color: var(--peach-dark); }

.gal-card .work-meta { margin-top: 6px; }

.gal-card .vote-mini {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: linear-gradient(135deg, var(--heart), #FF7A9C);
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(239, 71, 111, .32);
  transition: transform .16s ease;
}
.gal-card .vote-mini:hover { transform: translateY(-2px) scale(1.03); text-decoration: none; }

.gal-note {
  color: var(--ink-soft); font-size: .88rem; margin-top: 8px; line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА УЧАСТНИЦЫ (Вика)
   ═══════════════════════════════════════════════════════════════ */

.part-hero {
  display: grid; gap: 36px; align-items: center;
  grid-template-columns: minmax(280px, 460px) 1fr;
  padding: 48px 0 20px;
}

.part-hero .big-frame {
  background: #fff; border: 12px solid #fff;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(74,63,53,.06);
  border-radius: 18px; transform: rotate(-1.4deg);
  transition: transform .25s ease;
}
.part-hero .big-frame:hover { transform: rotate(0) scale(1.01); }
.part-hero .big-frame img { display: block; width: 100%; height: auto; border-radius: 6px; }

.part-info h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 4px; }
.part-info .from { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 18px; }

.part-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.chip {
  background: var(--paper); border: 2px solid var(--sun);
  border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: .88rem;
  box-shadow: 0 3px 8px rgba(74,63,53,.07);
}
.chip b { color: var(--heart); }

.part-quote {
  background: var(--paper); border-left: 6px solid var(--peach);
  border-radius: 0 16px 16px 0; padding: 16px 20px;
  color: var(--ink-soft); font-style: italic; margin-bottom: 22px;
  box-shadow: 0 3px 10px rgba(74,63,53,.06);
}

.part-progress { max-width: 420px; margin-bottom: 8px; }
.part-progress .bar {
  height: 16px; background: var(--cream); border-radius: 99px; overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(74,63,53,.08);
}
.part-progress .fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--sun), var(--peach), var(--heart));
  background-size: 200% 100%; animation: bar-flow 3s linear infinite;
}
@keyframes bar-flow { from { background-position: 0 0; } to { background-position: 200% 0; } }
.part-progress .cap { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }

@media (max-width: 900px) {
  .part-hero { grid-template-columns: 1fr; padding-top: 28px; }
  .part-hero .big-frame { max-width: 420px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════════
   ГОЛОСОВАНИЕ: карточка Telegram + формы + успех
   ═══════════════════════════════════════════════════════════════ */

.vote-for {
  text-align: center; color: var(--ink-soft); font-size: .95rem; margin-top: 18px;
}

.tg-card {
  background: var(--paper); border-radius: 26px;
  box-shadow: var(--shadow); border: 3px solid var(--sun);
  padding: 36px 34px 30px; text-align: center;
}

.tg-logo { width: 84px; height: 84px; margin: 0 auto 14px; }
.tg-logo svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(42, 171, 238, .35)); }

.tg-title { font-size: 1.45rem; margin-bottom: 8px; }
.tg-sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }

.field { display: block; text-align: left; margin-bottom: 16px; }
.f-label {
  display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px;
}
.f-inp {
  width: 100%; padding: 13px 16px; font-size: 1.05rem;
  border: 2px solid #EADFCE; border-radius: 14px; background: #fff;
  color: var(--ink); outline: none; transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.f-inp:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(94, 198, 232, .18); }

select.f-inp { appearance: auto; }

.tg-btn {
  width: 100%; margin-top: 6px;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff; font-size: 1.08rem; font-weight: 700;
  padding: 15px 24px; border-radius: 14px; border: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(42, 171, 238, .35);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  font-family: inherit;
}
.tg-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(42, 171, 238, .42); }
.tg-btn:disabled { filter: saturate(.6) brightness(.95); cursor: wait; transform: none; }

.tg-note { color: var(--ink-soft); font-size: .82rem; margin-top: 14px; line-height: 1.5; }
.tg-note a { color: var(--sky-dark); }

.form-err {
  background: #FFECEC; color: #C0392B; border: 2px solid #F5B7B1;
  border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin-bottom: 14px;
  text-align: left;
}

/* ячейки кода */
.code-row {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap;
}
.code-cell {
  width: 52px; height: 62px; text-align: center;
  font-size: 1.7rem; font-weight: 700; color: var(--ink);
  border: 2px solid #EADFCE; border-radius: 14px; background: #fff;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.code-cell:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(94, 198, 232, .18); }

/* страница успеха */
.success-badge {
  font-size: 4.2rem; line-height: 1;
  animation: success-pop .7s cubic-bezier(.2, 1.6, .4, 1) both;
  margin-bottom: 10px;
}
@keyframes success-pop {
  0% { transform: scale(0) rotate(-30deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(6deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

#confetti {
  position: fixed; inset: 0; pointer-events: none; z-index: 5;
}

@media (max-width: 520px) {
  .tg-card { padding: 28px 20px 24px; }
  .code-cell { width: 46px; height: 56px; font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   О НАС + СОЦКНОПКИ + ЖИВОСТЬ (тикер, дышащие счётчики, волна)
   ═══════════════════════════════════════════════════════════════ */

/* цифры-статистика */
.stats-row {
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 860px; margin: 0 auto;
}
.stat {
  background: var(--paper); border-radius: var(--radius); text-align: center;
  padding: 22px 12px; box-shadow: var(--shadow);
}
.stat-num {
  display: block; font-size: 2.2rem; font-weight: 700; color: var(--peach-dark);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat-cap { color: var(--ink-soft); font-size: .9rem; }

/* команда */
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: 860px; margin: 0 auto; }
.team-card {
  background: var(--paper); border-radius: var(--radius); padding: 22px 16px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.team-card:hover { transform: translateY(-5px) rotate(-1deg); }
.team-ava {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--sun);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.team-name { font-weight: 700; }
.team-role { color: var(--ink-soft); font-size: .85rem; }

/* реквизиты */
.req-card {
  max-width: 720px; margin: 0 auto; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 3px dotted var(--sky); padding: 24px 28px;
}
.req-line { padding: 7px 0; border-bottom: 1px dashed rgba(122,108,95,.2); font-size: .96rem; }
.req-line:last-child { border-bottom: none; }
.req-line b { color: var(--ink); }

/* соцкнопки */
.soc-row { display: flex; gap: 12px; justify-content: center; margin: 18px 0 8px; }
.soc-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  box-shadow: 0 5px 14px rgba(42,171,238,.35);
  transition: transform .16s ease, box-shadow .16s ease;
}
.soc-btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 9px 20px rgba(42,171,238,.45); }
.soc-btn:nth-child(2) { background: linear-gradient(135deg,#F58529,#DD2A7B 55%,#8134AF); box-shadow: 0 5px 14px rgba(221,42,123,.32); }
.soc-btn:nth-child(3) { background: linear-gradient(135deg,#0077FF,#4A90E2); }
.soc-btn:nth-child(4) { background: linear-gradient(135deg,#1877F2,#0C54A8); }
.soc-btn:nth-child(5) { background: linear-gradient(135deg,#FF0000,#CC0000); }
.soc-note { font-size: .78rem; color: var(--ink-soft); }

/* VK — только ru-версии, Facebook — только uk */
html[lang="uk"] .soc-ru { display: none; }
html[lang="ru"] .soc-ua { display: none; }

/* ── тикер живых голосов ──────────────────────────────────────── */
.vote-ticker {
  max-width: 720px; margin: 0 auto 0; background: var(--paper);
  border-radius: 999px; box-shadow: var(--shadow);
  padding: 10px 22px; display: flex; align-items: center; gap: 12px;
  overflow: hidden; border: 2px solid var(--sun);
}
.vote-ticker .pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--heart); flex: none;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,71,111,.5); }
  50% { box-shadow: 0 0 0 7px rgba(239,71,111,0); }
}
.vote-ticker .tick-text {
  font-size: .92rem; color: var(--ink-soft); white-space: nowrap;
  animation: tick-in .5s ease;
}
.vote-ticker .tick-text b { color: var(--heart); }
@keyframes tick-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ── волна-футер ──────────────────────────────────────────────── */
footer { border-top: 1px solid rgba(61, 53, 44, .08); background: linear-gradient(180deg, rgba(239,196,92,.10), transparent 60%); }

/* ── Появление при скролле (там, где браузер умеет scroll-timeline) ── */
@supports (animation-timeline: view()) {
  .step { animation: rise-in both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .work-card { animation: fade-in both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }
  @keyframes fade-in { from { opacity: 0; } }
}

/* ── Природа: адаптив под мобильные ── */
@media (max-width: 720px) {
  /* компактное меню: одна строка со свайпом */
  .nav {
    gap: 14px; font-size: .86rem;
    flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    margin-left: 0; width: 100%;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 2px 0; white-space: nowrap; flex: none; }
  /* таймер: подпись первым рядом, часы-минуты-секунды вторым */
  .timer-box .lbl { flex-basis: 100%; text-align: center; margin-bottom: 2px; }
  .logo { font-size: 1.04rem; gap: 7px; }
  .logo-ico { width: 20px; height: 20px; }
  .topbar .wrap { gap: 8px; }
  .topbar { padding: 10px 0; }
  .sun-glow { width: 110px; height: 110px; top: 92px; right: 8%; }
  .grass { height: 64px; }
  .scene-clouds { width: 80vw; opacity: .8; }
}

/* ── Дети на боковых полях: только широкие экраны ── */
.kids-scene { display: none; }
@media (min-width: 1200px) {
  .kids-scene { display: block; }
  .kid {
    position: fixed; bottom: 0; width: 470px; height: 760px;
    pointer-events: none; z-index: 0;
  }
  .kid-l { left: -6px; }
  .kid-r { right: -6px; }
}
@media (min-width: 1600px) {
  .kid { width: 560px; height: 900px; }
}


/* ── Цифры фонда ──────────────────────────────────────────────── */
.stats {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  max-width: 980px; margin: 34px auto 6px; padding: 0 20px;
}
.stat {
  flex: 1 1 200px; text-align: center; padding: 10px 18px;
  border-left: 1px solid rgba(61, 53, 44, .10);
}
.stat:first-child { border-left: none; }
.stat-num {
  display: block; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800;
  color: var(--peach-dark); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat-cap {
  display: block; margin-top: 4px; font-size: .74rem; font-weight: 700;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em;
}
@media (max-width: 640px) {
  .stats { gap: 14px 0; }
  .stat { flex: 1 1 46%; border-left: none; }
}

/* ── Плашка «новый голос» ─────────────────────────────────────── */
.toast-voice {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid rgba(61, 53, 44, .10);
  border-radius: 14px; padding: 10px 16px 10px 12px;
  box-shadow: var(--shadow);
  font-size: .86rem; color: var(--ink); max-width: 320px;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.toast-voice.show { opacity: 1; transform: translateY(0); }
.toast-voice b { font-weight: 800; color: var(--heart); }
.tv-ico { width: 18px; height: 18px; color: var(--heart); flex: none; }

/* ── Истории людей ────────────────────────────────────────────── */
.stories { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 26px; }
.story {
  background: var(--paper); border: 1px solid rgba(61, 53, 44, .07);
  border-radius: var(--radius); padding: 22px 20px 18px;
  box-shadow: var(--shadow-sm); margin: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.story.s1 { transform: rotate(-.8deg); }
.story.s3 { transform: rotate(.7deg); }
.story:hover { transform: rotate(0) translateY(-5px); box-shadow: var(--shadow-lg); }
.story .ava { width: 62px; height: 62px; margin-bottom: 12px; }
.story .ava svg { width: 100%; height: 100%; display: block; }
.story blockquote { font-size: .95rem; color: var(--ink); line-height: 1.55; margin: 0; }
.story .qmark {
  font-family: var(--font-hand); font-size: 2.4rem; line-height: 0;
  color: var(--peach); vertical-align: -.35em; margin-right: 2px;
}
.story figcaption { margin-top: 12px; font-size: .84rem; color: var(--ink-soft); }
.story figcaption b { color: var(--ink); font-weight: 800; }

/* ── Прозрачность: фонды + таймлайн ───────────────────────────── */
.funds { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 26px 0 8px; }
.fund { background: var(--paper); border: 1px solid rgba(61, 53, 44, .07); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.fund-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fund-top b { font-size: 1.5rem; font-weight: 800; color: var(--peach-dark); font-variant-numeric: tabular-nums; }
.f-ico { width: 24px; height: 24px; color: var(--peach-dark); }
.fund-bar { height: 8px; border-radius: 999px; background: rgba(61, 53, 44, .08); overflow: hidden; margin-bottom: 9px; }
.fund-bar i {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, var(--peach), var(--sun));
  transform-origin: left; transform: scaleX(1);
}
.fund > span { font-size: .86rem; color: var(--ink-soft); }
@supports (animation-timeline: view()) {
  .fund-bar i { animation: grow-bar both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes grow-bar { from { transform: scaleX(0); } }
}
.timeline {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px;
  justify-content: center; margin: 30px 0 0; padding: 18px 0 0;
  border-top: 1px dashed rgba(61, 53, 44, .14);
}
.timeline li { position: relative; padding: 6px 4px 0 16px; font-size: .86rem; color: var(--ink-soft); max-width: 210px; }
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 3px rgba(239, 196, 92, .25);
}
.timeline b { display: block; font-size: 1rem; color: var(--ink); font-weight: 800; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq {
  background: var(--paper); border: 1px solid rgba(61, 53, 44, .08);
  border-radius: var(--radius-sm); margin-top: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 20px;
  font-weight: 700; font-size: .98rem; color: var(--ink);
  position: relative; transition: background .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 400; color: var(--peach-dark);
  border: 1px solid rgba(192, 106, 68, .3); border-radius: 50%;
  transition: transform .25s ease, background .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); background: rgba(239, 196, 92, .18); }
.faq summary:hover { background: rgba(239, 196, 92, .08); }
.faq p { padding: 0 20px 18px; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ── Команда + вертикальный таймлайн (about) ──────────────────── */
.team { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 24px; }
.member {
  background: var(--paper); border: 1px solid rgba(61, 53, 44, .07);
  border-radius: var(--radius); padding: 22px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member .ava { width: 72px; height: 72px; margin: 0 auto 10px; }
.member .ava svg { width: 100%; height: 100%; }
.member b { display: block; font-size: 1.02rem; font-weight: 800; }
.member > span { display: block; margin: 3px 0 10px; font-size: .78rem; color: var(--peach-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.member p { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.vtimeline { list-style: none; margin: 26px 0 0; padding: 0 0 0 26px; border-left: 2px dashed rgba(61, 53, 44, .15); }
.vtimeline li { position: relative; padding: 0 0 22px 18px; }
.vtimeline li::before {
  content: ''; position: absolute; left: -32px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 4px rgba(239, 196, 92, .22);
}
.vtimeline b { display: block; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.vtimeline span { font-size: .9rem; color: var(--ink-soft); }
