/* ===========================================================
   report.fondpr.ru — годовой отчёт 2025
   БФ «Помоги ребёнку.ру»
   =========================================================== */

:root {
  --bg: #FAFAF8;
  --bg-alt: #F2F1EC;
  --panel-dark: #101B33;
  --panel-dark-2: #16244A;
  --ink: #12213B;
  --ink-soft: #4B5468;
  --line: #E4E2DA;

  --accent: #0B8F94;
  --accent-ink: #FFFFFF;
  --accent-soft: #DDF3F3;

  --chart-1: #0B8F94; /* sea wave  */
  --chart-2: #12213B; /* navy      */
  --chart-3: #F2A93B; /* amber     */
  --chart-4: #3B82C4; /* blue      */
  --chart-5: #8B6FD1; /* violet    */
  --chart-6: #E8875A; /* coral     */
  --chart-7: #C7C2B3; /* neutral   */
  --chart-gold: #C9A24B; /* muted gold, replaces navy on dark finance charts */

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;

  --shadow-1: 0 1px 2px rgb(18 33 59 / 0.04), 0 12px 32px -16px rgb(18 33 59 / 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1526;
    --bg-alt: #131C33;
    --ink: #EDEFF5;
    --ink-soft: #ABB3C6;
    --line: #24304F;
    --accent-soft: #0F2E30;
    --panel-dark: #0A1020;
    --panel-dark-2: #101A34;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(11 143 148 / 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgb(11 143 148 / 0.65); }
.btn-primary.btn-pink { background: #C85D8E; box-shadow: 0 10px 24px -8px rgb(200 93 142 / 0.5); }
.btn-primary.btn-pink:hover { box-shadow: 0 14px 30px -8px rgb(200 93 142 / 0.6); }
.btn-ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}
.btn-ghost:hover { border-color: rgb(255 255 255 / 0.8); }
.btn-dark {
  background: var(--panel-dark);
  color: #fff;
}
.btn-report {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-report:hover { background: var(--accent); color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgb(250 250 248 / 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgb(14 21 38 / 0.82); }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark {
  height: 54px; width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; white-space: nowrap; }
.brand-text small { display: block; font-family: "Manrope"; font-weight: 500; font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 420px) {
  .brand-mark { height: 40px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-text small { display: none; }
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13.5px;
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: 10px 16px; font-size: 13.5px; white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-drawer {
    position: fixed; top: 72px; left: 0; right: 0;
    height: calc(100dvh - 72px);
    z-index: 99;
    background: var(--bg);
    padding: 32px 24px;
    display: none;
    flex-direction: column;
    gap: 22px;
    overflow-y: auto;
  }
  .mobile-drawer.is-open { display: flex; }
  .mobile-drawer a {
    text-decoration: none; color: var(--ink);
    font-family: "Unbounded", sans-serif;
    font-size: 22px;
    font-weight: 600;
  }
  .mobile-drawer a.btn {
    color: #fff;
    font-size: 15px;
  }
}
@media (min-width: 861px) {
  .mobile-drawer { display: none !important; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--panel-dark);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% 20%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgb(10 15 30 / 0.5) 0%, rgb(10 15 30 / 0.36) 32%, rgb(10 15 30 / 0.08) 62%, rgb(10 15 30 / 0.02) 100%),
    linear-gradient(0deg, rgb(10 15 30 / 0.5) 0%, transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 120px 0 72px;
  max-width: 640px;
}
.hero-content .eyebrow { color: #BDF2EE; }
.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  color: #fff;
}
.hero-content .lede {
  margin: 22px 0 34px;
  font-size: 18px;
  color: rgb(255 255 255 / 0.86);
  max-width: 46ch;
}
@media (max-width: 640px) {
  .hero-content { max-width: 90%; }
  .hero-content .lede { max-width: 34ch; }
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Stat strip ---------------- */
.stats {
  background: var(--bg);
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.stat-hero .stat-num { font-size: clamp(2.6rem, 4.2vw, 3.4rem); }
.stat-num {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-hero .stat-num { color: var(--accent); }
.stat-label { color: var(--ink-soft); font-size: 15px; max-width: 24ch; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .stat-hero { grid-column: 1 / -1; }
}

/* ---------------- Mission (split) ---------------- */
.mission {
  padding: 120px 0;
  background: var(--bg);
}
.mission .container {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.mission-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 26px;
}
.mission-text p { font-size: 17px; color: var(--ink-soft); }
.mission-text p strong { color: var(--ink); }
.mission-goals-label { margin-top: 22px; margin-bottom: 4px; }
.mission-goals-label strong { color: var(--ink); }
.mission-goals { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mission-goals li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: var(--ink-soft);
}
.mission-goals li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------------- Key figures ---------------- */
.keyfigures { padding: 120px 0; background: var(--bg-alt); }
.kf-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}
.kf-tile {
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 150px;
}
.kf-teal { order: 1; } .kf-coral { order: 2; } .kf-navy { order: 3; } .kf-blue { order: 4; } .kf-amber { order: 5; } .kf-neutral { order: 6; }
.kf-big .kf-num { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.kf-num { font-variant-numeric: tabular-nums; font-family: "Unbounded"; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; }
.kf-label { font-size: 15px; line-height: 1.4; max-width: 30ch; }
.kf-teal { background: var(--accent); color: #fff; }
.kf-teal .kf-label { color: rgb(255 255 255 / 0.85); }
.kf-coral { background: var(--chart-6); color: #fff; }
.kf-coral .kf-label { color: rgb(255 255 255 / 0.88); }
.kf-navy { background: var(--chart-5); color: #fff; }
.kf-navy .kf-label { color: rgb(255 255 255 / 0.8); }
.kf-amber { background: var(--chart-3); color: var(--ink); }
.kf-amber .kf-label { color: rgb(18 33 59 / 0.72); }
.kf-neutral { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.kf-neutral .kf-label { color: var(--ink-soft); }
.kf-blue { background: var(--chart-4); color: #fff; }
.kf-blue .kf-label { color: rgb(255 255 255 / 0.85); }
@media (max-width: 900px) {
  .kf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .kf-grid { grid-template-columns: 1fr; }
}
.mission-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.mission-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
@media (max-width: 900px) {
  .mission .container { grid-template-columns: 1fr; }
  .mission-media { order: -1; max-height: 320px; }
  .mission-media img { aspect-ratio: 16/9; }
}

/* ---------------- Programs grid ---------------- */
.programs { padding: 120px 0; background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 17px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.program-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.program-card.has-photo { padding: 0; overflow: hidden; }
.program-card.has-photo img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.program-card.has-photo img.fit-contain {
  object-fit: contain; background: #98CBDB;
}
.program-card.has-photo .program-body { padding: 22px 22px 26px; }
.program-tag {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.program-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.program-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.program-figure { font-family: "Unbounded"; font-size: 13px; color: var(--accent); font-weight: 700; }
.program-figure-2025 {
  font-size: 11.5px; font-weight: 800; color: var(--accent);
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.program-results { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.program-results li {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.35;
  padding-left: 14px; position: relative;
}
.program-results li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

@media (max-width: 1040px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .programs-grid { grid-template-columns: 1fr; } }

/* ---------------- Story (split, editorial) ---------------- */
.story { padding: 120px 0; background: var(--bg); }
.story-heading-row { margin-bottom: 56px; }
.story-heading-row .section-head { margin: 0; max-width: none; }
.story .container {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.story-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.story-media-wide img { aspect-ratio: 710/548; object-fit: contain; background: #F3FAFA; }
.story-media-book { max-width: 320px; margin: 0 auto; }
.story-media-book img { aspect-ratio: 403/551; object-fit: cover; }
.story-media-portrait { max-width: 380px; margin: 0 auto; }
.story-media-portrait img { aspect-ratio: 4/5; object-fit: contain; background: var(--bg-alt); }
.story-media-square img { aspect-ratio: 1/1; object-fit: contain; background: var(--bg-alt); }
.story-media-tall { max-width: 300px; margin: 0 auto; }
.story-media-tall img { aspect-ratio: 910/2771; object-fit: contain; background: var(--bg-alt); }
.story-quote {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 28px;
}
.story-attr { font-weight: 700; color: var(--ink); }
.story-attr span { display: block; font-weight: 700; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.story-program-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.story-program-link:hover { color: var(--ink); }
.program-card[id] { scroll-margin-top: 96px; }
.story-alt { padding-top: 0; }
.story-feature {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.story-feature img { width: 64px; height: 88px; object-fit: cover; border-radius: 6px; flex-shrink: 0; box-shadow: var(--shadow-1); }
.story-feature p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 900px) {
  .story .container { grid-template-columns: 1fr; }
  .story-media { max-width: 320px; }
}

/* ---------------- Finance (data viz) ---------------- */
.finance { padding: 120px 0; background: var(--panel-dark); color: #fff; }
.finance .section-head { max-width: 820px; }
.finance .section-head h2 { color: #fff; }
.finance .section-head p { color: rgb(255 255 255 / 0.65); }
.finance .section-head p a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.finance .section-head p a:hover { color: #fff; }
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.donut-block { display: flex; flex-direction: column; gap: 28px; }
.donut-wrap { position: relative; width: 260px; height: 260px; margin: 0 auto; }
.donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-wrap circle { fill: none; stroke-width: 22; }
.donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.donut-center .amount { font-family: "Unbounded"; font-weight: 700; font-size: 1.5rem; }
.donut-center .caption { font-size: 12.5px; color: rgb(255 255 255 / 0.6); margin-top: 4px; max-width: 12ch; }
.donut-title { font-family: "Unbounded"; font-size: 18px; font-weight: 600; text-align: center; line-height: 1.45; }

.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legend .swatch { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.legend .pct { font-family: "Unbounded"; font-weight: 700; width: 64px; flex-shrink: 0; }
.legend .lbl { color: rgb(255 255 255 / 0.78); flex: 1; }
.legend .val { color: rgb(255 255 255 / 0.5); font-variant-numeric: tabular-nums; font-size: 13px; }

@media (max-width: 900px) {
  .finance-grid { grid-template-columns: 1fr; gap: 72px; }
}

/* ---------------- Awards (badge row) ---------------- */
.plans { padding: 100px 0 0; background: var(--bg); }
.plans-head {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  align-items: end; margin: 0 0 56px;
}
.plans-head .section-head { margin: 0; }
.plans-head-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  aspect-ratio: 707/421;
}
.plans-head-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .plans-head { grid-template-columns: 1fr; }
  .plans-head-media { order: -1; }
}
.plans-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plan-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex; align-items: flex-start; gap: 14px;
}
.plan-item .num { font-family: "Unbounded"; color: var(--accent); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.plan-item p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.plan-item strong { color: var(--ink); font-size: 15px; display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .plans-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans-list { grid-template-columns: 1fr; } }
.plans-thanks {
  max-width: 780px; margin: 40px auto 0; text-align: center;
  font-family: "Unbounded", sans-serif; font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--ink); line-height: 1.5;
}
.closing-word { background: var(--ink); }
.closing-photo {
  position: relative; min-height: 280px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #16244A 0%, #12213B 45%, #0B4B4E 100%);
}
.closing-photo p {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto; text-align: center;
  font-family: "Unbounded", sans-serif; font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; color: #fff;
}
@media (max-width: 640px) {
  .closing-photo { min-height: 220px; }
}
.impact { padding: 120px 0; background: var(--bg-alt); }
.impact-head {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  align-items: end; margin: 0 0 56px;
}
.impact-head .section-head { margin: 0; }
.impact-head-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  aspect-ratio: 16/10;
}
.impact-head-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .impact-head { grid-template-columns: 1fr; }
  .impact-head-media { order: -1; }
}
.impact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px clamp(20px, 4vw, 48px) 28px;
}
.impact-legend { display: flex; gap: 24px; margin-bottom: 20px; font-size: 14px; color: var(--ink-soft); }
.impact-legend span { display: inline-flex; align-items: center; gap: 8px; }
.impact-legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw.y23 { background: var(--chart-4); }
.sw.y24 { background: var(--chart-6); }
.sw.y25 { background: var(--chart-1); }
rect.impact-bar.y23 { fill: var(--chart-4); }
rect.impact-bar.y24 { fill: var(--chart-6); }
rect.impact-bar.y25 { fill: var(--chart-1); }
text.impact-val.y23, text.impact-val.y24 { fill: var(--ink-soft); }
text.impact-val.y25 { fill: var(--ink); font-weight: 700; }
.impact-figure { width: 100%; overflow-x: auto; }
.impact-chart { width: 100%; min-width: 640px; height: auto; }
.impact-grid { stroke: var(--line); stroke-width: 1; }
text.impact-axis { fill: var(--ink-soft); font-size: 11px; text-anchor: middle; font-family: "Manrope", sans-serif; }
text.impact-cat { fill: var(--ink); font-size: 13px; font-weight: 600; font-family: "Manrope", sans-serif; }
text.impact-val { font-size: 12px; font-variant-numeric: tabular-nums; font-family: "Manrope", sans-serif; }
.impact-note { margin: 20px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.impact-summary {
  margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: "Unbounded", sans-serif; font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink); line-height: 1.5;
}
.impact-summary span { color: var(--accent); font-weight: 800; }
@media (max-width: 640px) { .impact-card { padding: 24px 16px; } }

/* Интерактивная анимация роста столбцов (запускается при появлении блока в области видимости) */
rect.impact-bar {
  transform-box: fill-box;
  transform-origin: 0% 50%;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
text.impact-val {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.impact.is-playing rect.impact-bar { transform: scaleX(1); }
.impact.is-playing text.impact-val { opacity: 1; transition-delay: 0.5s; }
rect.impact-bar:nth-of-type(-n+3) { transition-delay: 0s; }
rect.impact-bar:nth-of-type(n+4):nth-of-type(-n+6) { transition-delay: 0.1s; }
rect.impact-bar:nth-of-type(n+7):nth-of-type(-n+9) { transition-delay: 0.2s; }
rect.impact-bar:nth-of-type(n+10):nth-of-type(-n+12) { transition-delay: 0.3s; }
rect.impact-bar:nth-of-type(n+13):nth-of-type(-n+15) { transition-delay: 0.4s; }
rect.impact-bar:nth-of-type(n+16):nth-of-type(-n+18) { transition-delay: 0.5s; }
.impact.is-playing rect.impact-bar:nth-of-type(-n+3) ~ text.impact-val { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  rect.impact-bar { transform: scaleX(1); transition: none; }
  text.impact-val { opacity: 1; transition: none; }
}

.awards { padding: 100px 0; background: var(--bg); }
.awards-head {
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: end; margin: 0 0 56px;
}
.awards-head .section-head { margin: 0; }
.awards-head-media { display: flex; gap: 14px; flex-wrap: wrap; }
.awards-head-media img {
  height: 170px; width: auto; display: block;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-1);
  object-fit: contain; background: #fff;
}
@media (max-width: 860px) {
  .awards-head { grid-template-columns: 1fr; }
  .awards-head-media { order: -1; }
}
@media (max-width: 480px) {
  .awards-head-media img { height: 120px; }
}
.awards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.award-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.award-badge .num {
  font-family: "Unbounded"; color: var(--accent); font-weight: 700; font-size: 20px; flex-shrink: 0;
}
.award-badge p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.award-badge strong { color: var(--ink); font-size: 15px; display: block; margin-bottom: 4px; }
.award-badge p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.award-badge p a:hover { color: var(--ink); }
@media (max-width: 900px) { .awards-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .awards-list { grid-template-columns: 1fr; } }

.award-verified-cell {
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.award-verified-cell img { height: 64px; width: auto; display: block; mix-blend-mode: multiply; }

/* ---------------- CTA / Donate ---------------- */
.cta {
  padding: 110px 0;
  background: var(--accent);
  color: #fff;
  text-align: left;
}
.cta .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.cta p { color: rgb(255 255 255 / 0.88); font-size: 17px; margin-top: 16px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.btn-cta-pink {
  background: #C85D8E;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgb(200 93 142 / 0.5);
}
.btn-cta-pink:hover { box-shadow: 0 14px 30px -8px rgb(200 93 142 / 0.6); }
.btn-cta-white { background: #fff; color: var(--accent); }
@media (max-width: 900px) {
  .cta .container { grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--panel-dark-2); color: rgb(255 255 255 / 0.72); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.footer-brand p { color: rgb(255 255 255 / 0.55); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { font-family: "Unbounded"; font-size: 14px; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: rgb(255 255 255 / 0.65); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col a[href*="sber.html"] { font-weight: 600; color: rgb(255 255 255 / 0.9); }
.social-list a { display: inline-flex; align-items: center; gap: 10px; }
.social-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px;
  font-size: 10px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.footer-bottom {
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgb(255 255 255 / 0.4);
}
.footer-metrika {
  padding-top: 28px; margin-top: 28px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex; justify-content: center;
}
.metrika-informer {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgb(255 255 255 / 0.55); font-size: 13px; text-decoration: none;
  transition: color 0.2s;
}
.metrika-informer:hover { color: #fff; }
.metrika-informer img { display: block; border-radius: 4px; background: #fff; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- Reveal-on-scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Reach map ---------------- */
.reach { padding: 110px 0 96px; background: #fff; color: #12213B; }
.reach .section-head h2 { color: #12213B; }
.reach .section-head p { color: #4B5468; }
.reach-map-wrap { margin-top: 8px; position: relative; }
.reach-watermark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1.35);
  width: 78%;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 2.2s ease, transform 2.2s cubic-bezier(0.16,1,0.3,1);
}
.reach.is-playing .reach-watermark {
  opacity: 0.05;
  transform: translate(-50%, -50%) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reach-watermark { transition: none; opacity: 0.05; transform: translate(-50%, -50%) scale(1); }
}
.reach-map { width: 100%; height: auto; display: block; overflow: visible; position: relative; z-index: 1; }
.reach-note { margin-top: 28px; color: var(--ink-soft); font-size: 15px; max-width: 74ch; }
.reach-map .land { fill: #F3FAFA; stroke: #D3E6E7; stroke-width: 0.8; stroke-linejoin: round; }
.reach-map .dots { fill: none; stroke: #DCEBEC; stroke-width: 2.6; stroke-linecap: round; }
.reach-map .bd { fill: none; stroke: #CBE0E1; stroke-width: 0.7; stroke-linejoin: round; }
.reach-map .rg { opacity: 0; }
.reach-map .rr { fill: #0B8F94; fill-opacity: var(--op); stroke: #fff; stroke-width: 1; stroke-linejoin: round; transition: stroke-width .2s; }
.reach-map .rg:hover .rr { stroke: #06676B; stroke-width: 2; }
.reach-map .rl { fill: #12213B; font: 700 12px/1 system-ui, sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 1.6px; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.reach-map .rn { fill: #12213B; font: 800 13px/1 system-ui, sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 1.6px; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.reach-map .rl.is-active { opacity: 1; }
.reach.is-playing .rg { animation: reach-r-on 1.6s ease-out both; animation-delay: var(--dl); }
.reach.is-playing .rr { animation: reach-r-flash 1.6s ease-out both; animation-delay: var(--dl); }
.reach[data-view="y2025"] .set[data-set="all"], .reach[data-view="all"] .set[data-set="y2025"], .reach[data-view="y2025"] .reach-cities[data-set="all"], .reach[data-view="all"] .reach-cities[data-set="y2025"], .reach[data-view="y2025"] .set-labels[data-set="all"], .reach[data-view="all"] .set-labels[data-set="y2025"] { display: none; }
.reach-legend { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 14px; color: #4B5468; }
.reach-legend .lgbar { width: 120px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgb(11 143 148 / 0.14), rgb(11 143 148 / 0.76)); }
.reach-cities { margin: 14px 0 0; max-width: 78ch; color: #6B7386; font-size: 14.5px; }

/* переключатель периода */
.reach-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 8px; background: #E6F3F3; border-radius: 999px; }
.reach-tabs button { font: 600 14px/1 system-ui, sans-serif; color: #4B5468; background: transparent; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.reach-tabs button.on { background: #0B8F94; color: #fff; }
.reach-tabs button:focus-visible { outline: 2px solid #12213B; outline-offset: 2px; }

@keyframes reach-r-on { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes reach-r-flash { 0% { fill-opacity: 0; } 30% { fill-opacity: calc(var(--op) + 0.3); } 100% { fill-opacity: var(--op); } }

@media (max-width: 720px) {
  .reach { padding: 72px 0 64px; }
  .reach-map .rl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reach-map .rg { opacity: 1; animation: none !important; }
  .reach-map .rr { animation: none !important; }
}

/* Немного меньше отступов между блоками на десктопе */
@media (min-width: 641px) {
  .mission, .programs, .story, .finance, .impact, .awards, .plans, .cta, .stats {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* Мобильные экраны: вертикальные отступы секций сильно меньше десктопных */
@media (max-width: 640px) {
  .mission, .programs, .story, .finance, .impact, .awards, .plans, .cta, .stats {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .plans { padding-top: 40px; padding-bottom: 0; }
  .section-head { margin-bottom: 24px; }
  .impact-head, .awards-head, .plans-head { margin-bottom: 24px; }
  .story-heading-row { margin-bottom: 24px; }
}

/* Кнопка "Вернуться наверх" */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(11 143 148 / 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--ink); }
@media (max-width: 640px) {
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* Окно оплаты (виджет Mixplat) */
.pay-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility 0s linear .2s; }
.pay-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .2s ease; }
.pay-modal-backdrop { position: absolute; inset: 0; background: rgb(18 33 59 / 0.55); }
.pay-modal-box { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: 18px; padding: 28px 22px 22px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.5); }
.pay-modal-close { position: absolute; top: 8px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; border-radius: 50%; z-index: 2; }
.pay-modal-close:hover { background: rgb(18 33 59 / 0.08); }
body.pay-open { overflow: hidden; }
/* Загрузчик Mixplat кладёт на страницу свои плавающие кнопки: нам нужна только форма в окне */
#cfd97ff3-1c95-4d3e-b427-e8ae8bc67ecd, #f95a642d-4968-4b50-ba11-df96ba07b666, #d7platformRedirector-container { display: none !important; }

/* Свой счётчик посетителей в подвале */
.visitors-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.12); color: rgb(255 255 255 / 0.7); font-size: 14px; }
.visitors-badge svg { color: var(--accent-soft, #5BC4C8); flex-shrink: 0; }
.visitors-num { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
