:root {
  --ink: #2f1c4f;
  --ink-2: #4c3a67;
  --muted: #6f6879;
  --line: #e8e4ed;
  --soft: #f6f3f8;
  --white: #fff;
  --accent: #9da6ad;
  --accent-2: #c8ced4;
  --shadow: 0 18px 50px rgba(47, 28, 79, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(1020px, calc(100% - 40px)); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(230,230,239,100); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav-button { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; background: var(--soft); }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(47,28,79,.86), rgba(47,28,79,.56), rgba(47,28,79,.12)), url('ukr.png'); background-size: cover; background-position: center; }
.hero-content { position: relative; padding: 110px 0 80px; color: var(--white); }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--accent); }
.hero .eyebrow { color: #dce1e6; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 6vw, 72px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; }
h3 { font-size: 21px; line-height: 1.2; margin-bottom: 8px; }
.lead { max-width: 720px; font-size: clamp(18px, 2.2vw, 23px); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 700; }
.button.primary { background: var(--white); color: var(--ink); }
.button.secondary { border: 1px solid rgba(255,255,255,.64); color: var(--white); }
.fund-content .button.primary, .contacts-section .button.primary { background: var(--ink); color: var(--white); }
.stats-band { background: var(--ink); color: var(--white); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stats-grid div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 20px; }
.stats-grid strong { display: block; font-size: clamp(25px, 4vw, 40px); line-height: 1; letter-spacing: -.03em; }
.stats-grid span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); }
.stats-grid .stat-number{
    white-space: nowrap;
    font-size: clamp(20px, 4vw, 44px);
}
.intro-section { padding: 72px 0 32px; background: var(--soft); }
.intro-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 6vw, 64px); box-shadow: var(--shadow); }
.intro-card p:last-child { max-width: 860px; color: var(--muted); font-size: 18px; }
.section { padding: 84px 0; }
.two-column { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: center; }
.fundraiser-card { position: relative; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.fund-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.status-label { position: absolute; top: 18px; left: 18px; background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.fund-content p { color: var(--muted); }
.amount-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 14px; }
.amount-row div { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--soft); }
.amount-row span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.amount-row strong { font-size: 24px; }
.progress-wrap { height: 18px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-line { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ink), var(--accent)); transition: width .4s ease; }
.percent { margin-top: 8px; font-weight: 700; color: var(--ink) !important; }
.requisites { border-left: 4px solid var(--ink); padding: 14px 0 4px 18px; margin: 26px 0; }
.principles { background: var(--soft); }
.six-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.six-grid article { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.six-grid p, .closed-card p, .team-grid p, .report-row p { color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.text-link { font-weight: 700; color: var(--ink); border-bottom: 1px solid currentColor; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.closed-card { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--white); box-shadow: 0 10px 30px rgba(47,28,79,.06); }
.closed-card img { width: 100%; aspect-ratio: 4 / 2.7; object-fit: cover; background: var(--soft); }
.closed-card div { padding: 22px; }
.closed-tag { display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 700; font-size: 13px; }
.closed-card a { font-weight: 700; }
.team-section { background: var(--soft); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.team-grid article { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.avatar{
    width:170px;
    height:170px;
    border-radius:50%;
    overflow:hidden;
    background:#d9d9d9;
    display:flex;
    align-items:center;
    justify-content:center;
}

.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.faq-section details { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 12px 0; background: var(--white); }
.faq-section summary { cursor: pointer; font-weight: 800; }
.faq-section details p { margin: 12px 0 0; color: var(--muted); }
.contacts-section { background: var(--ink); color: var(--white); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-card p { color: rgba(255,255,255,.78); }
.contact-list { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 24px; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.page-hero { padding: 100px 0 70px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); }
.all-reports { display: grid; gap: 22px; }
.report-row { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; border: 1px solid var(--line); border-radius: 28px; padding: 18px; background: var(--white); box-shadow: 0 10px 30px rgba(47,28,79,.06); }
.report-row img { width: 100%; border-radius: 20px; background: var(--soft); }
@media (max-width: 920px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .stats-grid, .two-column, .cards-grid, .contact-card, .report-row { grid-template-columns: 1fr; }
  .six-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 620px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand img { width: 138px; }
  .section { padding: 56px 0; }
  .six-grid, .team-grid, .amount-row { grid-template-columns: 1fr; }
  .stats-grid div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; }
}

/* refinements */
.site-header { padding: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.nav { flex: 1; justify-content: flex-end; }
.hero-logo { width: min(260px, 64vw); height: auto; margin: 0 0 24px; background: rgba(255,255,255,.86); border-radius: 22px; padding: 12px 18px; box-shadow: 0 14px 38px rgba(0,0,0,.14); }
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start; }
.about-grid p { color: var(--muted); font-size: 18px; }
.replaceable-photo { min-height: 360px; display: flex; align-items: end; background-image: linear-gradient(90deg, rgba(47,28,79,.66), rgba(47,28,79,.22)), url('ukraine-hero.svg'); background-size: cover; background-position: center; padding: 44px 0; }
.photo-note { width: min(520px, 100%); color: var(--white); background: rgba(47,28,79,.72); border: 1px solid rgba(255,255,255,.22); border-radius: 24px; padding: 24px; backdrop-filter: blur(8px); }
.photo-note span { display: block; font-weight: 800; font-size: 24px; margin-bottom: 8px; }
.photo-note p { margin: 0; color: rgba(255,255,255,.78); }
.principle-no { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 800; }
.six-grid article { min-height: 290px; }
@media (max-width: 920px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* final layout updates */
.about-section {
  background: linear-gradient(180deg, #f6f3f8 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.photo-hero-block {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 96px 0;
  background-image:
    linear-gradient(90deg, rgba(47,28,79,.82), rgba(47,28,79,.55), rgba(47,28,79,.22)),
    url('ukraine2.png');
  background-size: cover;
  background-position: center;
}
.photo-hero-block .intro-card {
  margin: 0 auto;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.photo-hero-block .intro-card p:last-child { color: var(--ink-2); }
.page-hero.photo-page-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 92px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  border-bottom: 0;
}
.page-hero.photo-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(47,28,79,.86), rgba(47,28,79,.62), rgba(47,28,79,.22));
}
.page-hero.photo-page-hero .container { position: relative; }
.page-hero.photo-page-hero h1 { color: var(--white); }
.page-hero.photo-page-hero .lead,
.page-hero.photo-page-hero p { color: rgba(255,255,255,.84) !important; }
.page-hero.about-hero { background-image: url('ab.png'); }
.page-hero.reports-hero { background-image: url('zbory.png'); }
.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.content-card p { color: var(--muted); font-size: 18px; }
.closed-page-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }


/* closed fundraisers amount/status updates */
.closed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.closed-meta strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}
.closed-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.report-meta {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.report-row p + p {
  margin-top: 12px;
}
.report-gallery.stacked {
  display: grid;
  gap: 14px;
}
.report-gallery.stacked img {
  width: 100%;
  border-radius: 20px;
  background: var(--soft);
}
@media (max-width: 560px) {
  .closed-meta { align-items: flex-start; flex-direction: column; }
}
.content-card img{
  width:100%;
  border-radius:24px;
  margin:34px 0;
  box-shadow:0 14px 34px rgba(47,28,79,.08);
}

.results-list{
  padding-left:20px;
  color:var(--muted);
}

.results-list li{
  margin-bottom:10px;
}
