@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #17342f;
  --ink-soft: #52645d;
  --deep: #183b34;
  --paper: #f7f7f1;
  --white: #fff;
  --soft: #eaf0e7;
  --lime: #dbe9af;
  --accent: #a55437;
  --line: #d7dfd5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 var(--font); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }

.topbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.045em; }
.mark { width: 35px; height: 35px; flex: none; border-radius: 10px; background: var(--deep); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; padding: 9px; transform: rotate(-12deg); }
.mark i { display: block; background: var(--lime); border-radius: 1px; }
.mark i:nth-child(2), .mark i:nth-child(3) { opacity: .45; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover { color: var(--accent); }
.nav a:last-child { padding: 10px 17px; border: 1px solid var(--ink); border-radius: 999px; }
.nav a:last-child:hover { color: var(--white); background: var(--ink); }

.hero { width: min(1480px, calc(100% - 28px)); margin: 0 auto; min-height: 610px; display: grid; grid-template-columns: 40% 60%; overflow: hidden; border-radius: 25px; background: var(--deep); color: var(--white); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 52px 3vw 60px max(34px, calc((100vw - 1260px) / 2)); background: radial-gradient(circle at 0 0, #315b4b 0, transparent 48%), var(--deep); }
.eyebrow { max-width: 580px; margin: 0 0 29px; color: var(--lime); font-size: 11px; line-height: 1.65; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.hero h1 { max-width: 740px; margin: 0 0 24px; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.075; letter-spacing: -.075em; font-weight: 800; }
.hero p.lead { max-width: 550px; margin: 0 0 36px; color: #dce7dd; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 11px; background: var(--lime); color: var(--ink); text-decoration: none; text-align: center; font-size: 13px; font-weight: 800; line-height: 1.3; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { background: #edf4d1; transform: translateY(-2px); }
.button.outline { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.button.outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.hero-visual { position: relative; min-height: 500px; display: flex; align-items: center; overflow: hidden; background: #8597a9; }
.hero-visual::before { content: ''; position: absolute; inset: -25px; background: url('agr/agr-5-8.jpg') center / cover; filter: blur(22px); opacity: .55; }
.hero-visual img { position: relative; width: 100%; height: auto; display: block; }

.section-number { display: inline-block; color: var(--accent); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h2, h3 { font-family: var(--font); }
.intro, .closing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); }
.intro { padding: 116px 0 120px; border-bottom: 1px solid var(--line); }
.intro h2, .gallery h2, .history h2, .process h2, .investment h2, .funding h2, .closing h2 { margin: 17px 0 0; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.13; letter-spacing: -.065em; font-weight: 800; }
.intro .body { padding-top: 24px; }
.intro .body p { margin: 0 0 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.intro .body p:first-child { color: var(--ink); font-size: 21px; line-height: 1.55; font-weight: 700; }
.source { color: var(--accent); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.source:hover { color: var(--ink); }

.gallery { padding: 106px 0 118px; }
.gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 46px; }
.gallery h2 { max-width: 670px; }
.gallery-header p { max-width: 330px; margin: 0 0 5px; color: var(--ink-soft); font-size: 15px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 43px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 15px; background: var(--soft); }
.gallery-grid img { width: 100%; aspect-ratio: 16/9; display: block; object-fit: cover; transition: transform .4s, filter .4s; }
.gallery-grid a:hover img { transform: scale(1.035); filter: saturate(1.07); }

.history { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 95px); align-items: center; padding: 16px 0 120px; }
.history figure { margin: 0; }
.history img { width: 100%; height: auto; aspect-ratio: 2/1; display: block; object-fit: cover; object-position: center top; border-radius: 19px; }
.history h2 { margin-bottom: 26px; }
.history p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.history p.highlight { color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.65; }

.process { padding: 110px 0 115px; color: var(--white); background: var(--deep); }
.process .section-number { color: var(--lime); }
.process-header { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 45px; }
.process h2 { max-width: 650px; }
.process-header p { max-width: 320px; margin: 0 0 3px; color: #c3d3c8; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.step { min-width: 0; display: flex; flex-direction: column; padding: 26px 22px 27px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: rgba(255,255,255,.045); transition: transform .2s, background .2s; }
.step:hover { transform: translateY(-4px); background: rgba(255,255,255,.075); }
.step .index { color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.step h3 { margin: 35px 0 13px; font-size: 21px; line-height: 1.3; letter-spacing: -.045em; font-weight: 800; }
.step p { flex: 1; margin: 0; color: #c3d3c8; font-size: 13px; line-height: 1.75; }
.step a { width: fit-content; margin-top: 20px; color: var(--lime); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.step a:hover { color: var(--white); }
.process-follow { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 43px; }
.process-follow p { max-width: 590px; margin: 0; color: #c3d3c8; font-size: 14px; }
.button.light { flex: none; background: var(--lime); }

.investment { padding: 112px 0; background: #e9f0e6; }
.investment-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(42px, 7vw, 105px); align-items: start; }
.investment h2 { margin-bottom: 25px; }
.investment p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.investment-detail { padding: 36px 39px 39px; border: 1px solid #d7e2d4; border-radius: 20px; background: var(--white); box-shadow: 0 18px 48px rgba(23,52,47,.055); }
.investment p.investment-amount { color: var(--ink); font-size: clamp(48px, 5vw, 72px); line-height: 1.1; font-weight: 800; letter-spacing: -.08em; }
.investment p.investment-caption { margin: 7px 0 29px; color: var(--ink-soft); font-size: 13px; }
.investment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 19px; padding: 0; margin: 0; list-style: none; }
.investment-list li { padding: 11px 0 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; }
.investment p.investment-next { margin-top: 28px; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.7; }

.funding { padding: 118px 0 126px; }
.funding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 7vw, 100px); align-items: center; }
.funding h2 { margin-bottom: 28px; }
.mission-quote { margin: 0 0 26px; padding: 22px 27px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--soft); color: var(--ink); font-size: clamp(20px, 2vw, 26px); line-height: 1.5; font-weight: 800; letter-spacing: -.035em; }
.funding p { margin: 0 0 19px; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.funding p.emphasis { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.65; }
.funding-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 27px; margin-top: 29px; }
.donate-action { background: var(--deep); color: var(--white); }
.donate-action:hover { background: #2c584d; }
.text-link { color: var(--accent); font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--ink); }
.funding-card { padding: 40px 42px 37px; border-radius: 21px; background: var(--deep); color: var(--white); box-shadow: 0 22px 55px rgba(23,52,47,.15); }
.funding-card .card-label { display: block; margin-bottom: 20px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.funding-card h3 { max-width: 430px; margin: 0 0 35px; font-size: 28px; line-height: 1.25; letter-spacing: -.05em; font-weight: 800; }
.funding-card p.current { margin: 0 0 3px; color: var(--white); font-size: clamp(37px, 4.4vw, 62px); line-height: 1.1; font-weight: 800; letter-spacing: -.075em; white-space: nowrap; }
.funding-card .current-label { color: #bfcfc5; font-size: 13px; }
.progress { height: 13px; overflow: hidden; margin: 27px 0 28px; border-radius: 999px; background: rgba(255,255,255,.17); }
.progress span { display: block; width: 22.22%; height: 100%; border-radius: inherit; background: var(--lime); transition: width .5s; }
.funding-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.22); }
.funding-numbers strong { display: block; color: var(--white); font-size: 18px; line-height: 1.3; font-weight: 800; white-space: nowrap; }
.funding-numbers span { display: block; margin-top: 5px; color: #bfcfc5; font-size: 12px; }
.funding-card p.funding-note { margin: 24px 0 0; color: #bfcfc5; font-size: 12px; line-height: 1.5; }

.donation { padding-bottom: 116px; scroll-margin-top: 24px; }
.donation-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); padding: 52px 55px; border-radius: 21px; background: var(--soft); }
.donation h2 { margin: 17px 0 22px; font-size: clamp(34px, 3.7vw, 52px); line-height: 1.14; letter-spacing: -.065em; font-weight: 800; }
.donation-intro > p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.donation-intro p.recipient-label { margin-top: 30px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.donation-intro p.donation-recipient { margin-top: 8px; color: var(--ink); font-size: 18px; line-height: 1.55; font-weight: 800; }
.bank-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 24px 27px; margin: 0; }
.bank-details > div { min-width: 0; padding-top: 13px; border-top: 1px solid #cbd9ca; }
.bank-details dt { margin-bottom: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.bank-details dd { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.5; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank-purpose { grid-column: 1 / -1; }
.donation-qr { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(230px, 320px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding-top: 42px; border-top: 1px solid #cbd9ca; }
.donation-qr-image { display: block; width: 100%; max-width: 320px; padding: 9px; border: 1px solid #cbd9ca; border-radius: 16px; background: #fff; }
.donation-qr-image img { display: block; width: 100%; height: auto; }
.donation-qr-copy h3 { margin: 10px 0 16px; color: var(--ink); font-size: clamp(27px, 3vw, 39px); line-height: 1.14; letter-spacing: -.045em; }
.donation-qr-copy p { max-width: 560px; margin: 0 0 13px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.donation-qr-copy a { display: inline-block; margin-top: 7px; color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.donation-qr-copy a:hover { color: var(--accent); }

.closing { padding: 106px 0 112px; border-top: 1px solid var(--line); }
.closing h2 { max-width: 660px; }
.closing p { margin: 0 0 20px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.contacts { display: grid; gap: 10px; margin: 25px 0 27px; }
.contact-person { padding: 16px 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.contact-person strong, .contact-person span { display: block; }
.contact-person strong { font-size: 14px; line-height: 1.45; }
.contact-person span { color: var(--ink-soft); font-size: 12px; }
.contact-person a { display: inline-block; margin-top: 5px; color: var(--ink); font-size: 18px; line-height: 1.4; font-weight: 800; text-decoration: none; }
.contact-person a:hover { color: var(--accent); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-link { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.icon-link:hover { transform: translateY(-3px); border-color: #b7c9b7; box-shadow: 0 8px 18px rgba(23,52,47,.1); }
.icon-link svg { width: 32px; height: 32px; display: block; }
.footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; padding: 38px 0 48px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.footer p { margin: 0; }
.footer-details { max-width: 680px; }
.footer-details .footer-name { margin-bottom: 10px; color: var(--ink); font-size: 15px; line-height: 1.55; font-weight: 700; }
.footer-details a { display: inline-block; margin-top: 12px; color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.footer-details a:hover { color: var(--accent); }
.footer-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 22px; }
.footer-end .contact-links { justify-content: flex-end; }
.footer-end > p { white-space: nowrap; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 62px 42px; }
  .hero h1 { font-size: clamp(43px, 6vw, 66px); }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .hero-visual::before { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funding-grid { gap: 42px; }
  .funding-card { padding: 32px; }
  .funding-card p.current { font-size: clamp(31px, 4vw, 48px); }
  .funding-numbers { grid-template-columns: 1fr; gap: 13px; }
  .donation-panel { grid-template-columns: 1fr; gap: 35px; }
  .donation-qr { grid-template-columns: minmax(210px, 280px) minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1220px); }
  .topbar { min-height: 72px; gap: 12px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .mark { width: 30px; height: 30px; padding: 8px; }
  .nav { gap: 0; }
  .nav a { display: none; }
  .nav a:last-child { display: block; padding: 8px 15px; }
  .hero { width: calc(100% - 16px); grid-template-columns: 1fr; border-radius: 17px; }
  .hero-copy { padding: 65px 28px 58px; }
  .eyebrow { margin-bottom: 24px; font-size: 10px; }
  .hero h1 { font-size: clamp(42px, 10vw, 64px); }
  .hero p.lead { font-size: 16px; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .intro, .closing, .history, .investment-grid, .funding-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro { padding: 82px 0 88px; }
  .intro .body { padding-top: 0; }
  .gallery { padding: 82px 0 87px; }
  .gallery-header { display: block; }
  .gallery-header p { max-width: 560px; margin-top: 19px; }
  .gallery-grid { gap: 12px; margin-top: 32px; }
  .history { padding: 0 0 87px; gap: 38px; }
  .process { padding: 84px 0 90px; }
  .process-header { display: block; margin-bottom: 34px; }
  .process-header p { max-width: 480px; margin-top: 20px; }
  .investment { padding: 82px 0 87px; }
  .funding { padding: 86px 0 95px; }
  .funding-card { margin-top: 7px; }
  .donation { padding-bottom: 87px; }
  .donation-panel { padding: 34px 30px; }
  .closing { padding: 85px 0 92px; }
}

@media (max-width: 580px) {
  .hero-copy { padding: 53px 24px 48px; }
  .hero h1 { font-size: clamp(40px, 10.3vw, 56px); }
  .hero-visual { height: auto; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .intro h2, .gallery h2, .history h2, .process h2, .investment h2, .funding h2, .closing h2 { font-size: clamp(34px, 9.2vw, 45px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { padding: 22px; }
  .step h3 { margin-top: 23px; }
  .process-follow { display: block; }
  .process-follow .button { margin-top: 24px; }
  .investment-detail { padding: 27px 23px; }
  .investment-list { grid-template-columns: 1fr; gap: 7px; }
  .investment p.investment-amount { font-size: 56px; }
  .funding-card { padding: 29px 23px; }
  .funding-card h3 { font-size: 24px; }
  .funding-card p.current { font-size: clamp(33px, 9vw, 45px); }
  .donation-panel { padding: 29px 23px; }
  .bank-details { grid-template-columns: 1fr; gap: 13px; }
  .bank-details dd { font-size: 16px; }
  .donation-qr { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; }
  .donation-qr-image { max-width: 320px; }
  .footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-end { align-items: flex-start; }
  .footer-end .contact-links { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .brand { gap: 8px; font-size: 12px; }
  .mark { width: 26px; height: 26px; padding: 7px; }
  .nav a:last-child { padding: 7px 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .step, .gallery-grid img, .progress span, .icon-link { transition: none; }
}

/* Второй вариант оформления: светлая архитектурная подача. */
:root {
  --ink: #193341;
  --ink-soft: #526675;
  --deep: #193b4d;
  --paper: #faf8f2;
  --soft: #e8eef0;
  --lime: #ecd6a8;
  --accent: #94663c;
  --line: #d4dce0;
}

body { background: var(--paper); }
.wrap { width: min(1180px, calc(100% - 72px)); }
.topbar { min-height: 96px; }
.brand { letter-spacing: -.035em; }
.mark { border-radius: 50%; transform: none; }
.mark i { background: #f6e4c0; }
.nav a:last-child { border-radius: 4px; }

.hero { display: grid; grid-template-columns: 1fr; width: min(1480px, calc(100% - 28px)); min-height: 0; overflow: visible; border-radius: 0; background: #f1ede4; color: var(--ink); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .65fr); align-items: start; column-gap: clamp(45px, 6vw, 110px); width: min(1180px, calc(100% - 72px)); margin: 0 auto; padding: 80px 0 70px; background: transparent; }
.eyebrow { grid-column: 1 / -1; max-width: none; margin: 0 0 27px; color: var(--accent); }
.hero h1 { grid-column: 1; grid-row: 2 / span 2; max-width: 850px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(62px, 7.5vw, 112px); line-height: .97; letter-spacing: -.072em; font-weight: 400; }
.hero p.lead { grid-column: 2; grid-row: 2; max-width: 360px; margin: 6px 0 24px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.hero-actions { grid-column: 2; grid-row: 3; align-self: start; flex-direction: column; align-items: stretch; width: min(100%, 320px); }
.button { border-radius: 4px; background: var(--lime); }
.button:hover { background: #f5e5bf; }
.button.outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.hero-visual { min-height: 0; height: auto; aspect-ratio: auto; background: #dbe4e6; }
.hero-visual::before { display: none; }
.hero-visual img { width: 100%; height: auto; }

.section-number { color: var(--accent); letter-spacing: .19em; }
.intro h2, .gallery h2, .history h2, .process h2, .investment h2, .funding h2, .closing h2, .donation h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.057em; }
.intro { padding: 105px 0 110px; }
.intro .body p:first-child { font-size: 22px; font-weight: 600; }
.gallery { padding: 104px 0 116px; }
.gallery-grid { gap: 12px; }
.gallery-grid a { border-radius: 0; }
.gallery-grid img { aspect-ratio: 16 / 9; }
.history { padding-bottom: 116px; }
.history img { aspect-ratio: 2 / 1; object-fit: cover; object-position: center top; border-radius: 0; }

.process { padding: 105px 0 110px; background: #e7eef0; color: var(--ink); }
.process .section-number, .step .index { color: var(--accent); }
.process-header p, .step p, .process-follow p { color: var(--ink-soft); }
.step { border: 0; border-top: 3px solid var(--accent); border-radius: 0; background: #fff; box-shadow: 0 14px 35px rgba(25,51,65,.045); }
.step:hover { background: #fff; box-shadow: 0 18px 38px rgba(25,51,65,.085); }
.step a { color: var(--accent); }
.step a:hover { color: var(--ink); }
.button.light { background: var(--deep); color: #fff; }
.button.light:hover { background: #2c5264; }

.investment { background: var(--deep); }
.investment h2, .investment p { color: #fff; }
.investment .section-number { color: var(--lime); }
.investment-detail { border: 0; border-radius: 0; background: #f3efe6; box-shadow: none; }
.investment-detail p, .investment p.investment-amount, .investment p.investment-next { color: var(--ink); }
.investment-detail p.investment-caption { color: var(--ink-soft); }

.funding { background: #fff; }
.mission-quote { border-left-color: var(--accent); border-radius: 0; background: #f3efe6; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(22px, 2.2vw, 29px); font-weight: 400; }
.funding-card { border: 1px solid #d8e0df; border-radius: 0; background: #f6f4ed; color: var(--ink); box-shadow: none; }
.funding-card .card-label { color: var(--accent); }
.funding-card h3, .funding-card p.current, .funding-numbers strong { color: var(--ink); }
.funding-card .current-label, .funding-numbers span, .funding-card p.funding-note { color: var(--ink-soft); }
.progress { background: #dbe2df; }
.progress span { background: var(--accent); }
.funding-numbers { border-top-color: var(--line); }
.donate-action { background: var(--deep); }
.donate-action:hover { background: #2c5264; }

.donation { padding-top: 102px; }
.donation-panel { border-left: 5px solid var(--accent); border-radius: 0; background: #e9eff0; }
.donation-qr-image { border-radius: 0; }
.contact-person { border-radius: 0; }
.icon-link { border-radius: 7px; }

@media (max-width: 1050px) {
  .hero-copy { display: block; padding: 66px 0 65px; }
  .hero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(60px, 8.2vw, 96px); }
  .hero p.lead { max-width: 630px; margin: 0 0 26px; }
  .hero-actions { flex-direction: row; width: auto; }
  .hero-visual { aspect-ratio: auto; }
}

@media (max-width: 760px) {
  .wrap, .hero-copy { width: min(100% - 40px, 1180px); }
  .topbar { min-height: 72px; }
  .hero { width: calc(100% - 16px); }
  .hero-copy { padding: 60px 0 55px; }
  .hero h1 { font-size: clamp(52px, 10.5vw, 76px); }
  .hero p.lead { font-size: 16px; }
  .hero-visual { aspect-ratio: auto; }
  .intro { padding: 85px 0 90px; }
  .donation { padding-top: 80px; }
}

@media (max-width: 580px) {
  .hero-copy { padding: 52px 0 50px; }
  .hero h1 { font-size: clamp(48px, 11vw, 66px); }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .button { flex: none; }
  .intro h2, .gallery h2, .history h2, .process h2, .investment h2, .funding h2, .closing h2, .donation h2 { font-size: clamp(36px, 9.2vw, 48px); }
  .donation { padding-top: 68px; }
}

/* Осенний вариант: тёплые цвета и лёгкий узор листвы. */
:root {
  --ink: #38271d;
  --ink-soft: #675548;
  --deep: #593421;
  --paper: #fcf7ec;
  --soft: #f5e7cb;
  --lime: #eab75d;
  --accent: #a04f25;
  --line: #e2cfad;
}

body { background: var(--paper); }
.topbar { border-bottom: 1px solid #ead9b9; }
.mark { background: var(--deep); }
.mark i { background: #f2cc7d; }
.nav a:last-child { border-color: var(--deep); background: #fff8e7; }
.nav a:last-child:hover { background: var(--deep); color: #fff8e7; }

.hero { background: linear-gradient(120deg, #f7e7c4 0%, #f6db9e 62%, #f1c987 100%); }
.hero-copy { position: relative; isolation: isolate; }
.hero-copy::before { display: none; }
.falling-leaves { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.falling-leaves span { position: absolute; display: block; width: 84px; height: 92px; background: url('autumn-leaves.svg') center / contain no-repeat; opacity: .2; animation: falling-leaf 17s ease-in-out infinite alternate; }
.falling-leaves span:nth-child(1) { top: 2%; left: 76%; width: 118px; height: 126px; animation-duration: 19s; }
.falling-leaves span:nth-child(2) { top: 14%; left: 92%; width: 64px; height: 72px; animation-delay: -8s; filter: hue-rotate(17deg); }
.falling-leaves span:nth-child(3) { top: 31%; left: 83%; width: 78px; height: 85px; animation-duration: 22s; animation-delay: -3s; }
.falling-leaves span:nth-child(4) { top: 49%; left: 96%; width: 100px; height: 108px; animation-duration: 24s; animation-delay: -14s; filter: hue-rotate(-14deg); }
.falling-leaves span:nth-child(5) { top: 65%; left: 70%; width: 54px; height: 60px; animation-duration: 21s; animation-delay: -7s; }
.falling-leaves span:nth-child(6) { top: 82%; left: 88%; width: 74px; height: 82px; animation-duration: 18s; animation-delay: -12s; filter: hue-rotate(20deg); }
@keyframes falling-leaf { from { transform: translate(12px, -24px) rotate(-20deg); } to { transform: translate(-34px, 42px) rotate(30deg); } }
.eyebrow { color: #89401f; }
.hero p.lead { color: #574337; }
.hero-funding { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 2fr); gap: 18px 35px; margin-top: 50px; padding: 24px 30px 20px; border: 1px solid #c99250; background: rgba(255, 250, 237, .92); box-shadow: 0 12px 32px rgba(89, 52, 33, .08); }
.hero-funding-heading span { display: block; margin-bottom: 8px; color: #93471f; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-funding-heading strong { display: block; max-width: 260px; font-family: Georgia, 'Times New Roman', serif; font-size: 23px; font-weight: 400; line-height: 1.14; letter-spacing: -.045em; }
.hero-funding-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 20px; }
.hero-funding-stats > div + div { padding-left: 19px; border-left: 1px solid #dfc9a6; }
.hero-funding-stats strong { display: block; font-size: clamp(18px, 1.75vw, 25px); letter-spacing: -.045em; white-space: nowrap; }
.hero-funding-stats span { display: block; margin-top: 6px; color: #675548; font-size: 12px; }
.hero-funding-footer { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding-top: 16px; border-top: 1px solid #dfc9a6; }
.hero-funding-footer .progress { flex: 1; margin: 0; height: 8px; }
.hero-funding-footer > span { color: #675548; font-size: 11px; white-space: nowrap; }
.button { background: #e5af4c; color: #332319; box-shadow: 0 3px 0 rgba(96,56,27,.08); }
.button:hover { background: #f0c871; }
.button.outline { border-color: #68432b; color: var(--ink); }
.button.outline:hover { border-color: var(--deep); background: var(--deep); color: #fff8ea; }
.hero-visual { border-top: 5px solid #b46d35; background: #d9bc86; }

.section-number { color: var(--accent); }
.source, .text-link { color: var(--accent); }
.intro { background: transparent; }
.gallery-grid a { border: 1px solid #ead5af; background: #efe1c7; }
.history figure { padding: 7px; border: 1px solid #e6cda6; background: #fff9ee; }

.process { background: linear-gradient(155deg, #f4dbab 0%, #f7e8ca 60%, #f3d49f 100%); }
.process .section-number, .step .index { color: var(--accent); }
.step { border-top-color: #b45c2b; background: #fffaf0; box-shadow: 0 15px 32px rgba(112,70,31,.08); }
.step:hover { background: #fffaf0; box-shadow: 0 18px 36px rgba(112,70,31,.13); }
.step a { color: #944018; }
.step a:hover { color: var(--deep); }
.button.light { background: var(--deep); color: #fff8e8; }
.button.light:hover { background: #70422b; }

.investment { background: linear-gradient(125deg, #5b3422 0%, #743d25 55%, #512e25 100%); }
.investment h2, .investment p { color: #fff9ed; }
.investment .section-number { color: #f3c980; }
.investment-detail { background: #fff6e4; }
.investment-detail p, .investment p.investment-amount, .investment p.investment-next { color: var(--ink); }
.investment-detail p.investment-caption { color: var(--ink-soft); }

.funding { background: #fffaf0; }
.mission-quote { border-left-color: #b56330; background: #f7e8cc; }
.funding-card { border-color: #dcbf8a; background: linear-gradient(145deg, #f7e5be, #fff5df); }
.funding-card .card-label { color: #86411f; }
.progress { background: #e2cfa9; }
.progress span { background: linear-gradient(90deg, #a94d25, #d98a34); }
.donate-action { background: var(--deep); color: #fff8e8; }
.donate-action:hover { background: #74452e; }

.donation-panel { border-left-color: #b05b2d; background: #f7ead1; }
.bank-details > div, .donation-qr { border-color: #dec69f; }
.contact-person, .icon-link { border-color: #e4cfab; background: #fffaf0; }
.contact-person a:hover, .footer-details a:hover { color: var(--accent); }
.location-map { height: 330px; margin-top: 29px; overflow: hidden; border: 1px solid #dfc89f; background: #f4e8cd; }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-link { display: inline-block; margin-top: 14px; color: #89401f; font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.map-link:hover { color: var(--deep); }
.footer { border-top-color: #dfc89f; }

@media (max-width: 760px) {
  .falling-leaves span { opacity: .13; }
  .falling-leaves span:nth-child(1) { left: 72%; }
  .falling-leaves span:nth-child(3), .falling-leaves span:nth-child(5) { display: none; }
  .hero-funding { grid-template-columns: 1fr; gap: 22px; margin-top: 34px; padding: 23px; }
  .hero-funding-heading strong { max-width: none; }
  .hero-funding-stats { gap: 14px; }
  .hero-funding-stats > div + div { padding-left: 13px; }
  .hero-funding-stats strong { font-size: 19px; }
}

@media (max-width: 580px) {
  .hero-funding { padding: 19px; }
  .hero-funding-stats { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .hero-funding-stats > div:first-child { grid-column: 1 / -1; }
  .hero-funding-stats > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .hero-funding-stats strong { font-size: clamp(15px, 4.8vw, 21px); }
  .hero-funding-footer { display: block; }
  .hero-funding-footer > span { display: block; margin-top: 10px; }
  .location-map { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .falling-leaves span { animation: none; }
}

/* Более плотный и крупный текст без служебных подписей над разделами. */
body { font-size: 17px; line-height: 1.5; }
.intro h2, .gallery h2, .history h2, .process h2, .investment h2, .funding h2, .closing h2, .donation h2 { margin-top: 0; }
.hero p.lead { font-size: clamp(17px, 1.4vw, 18px); line-height: 1.5; }
.intro .body p { font-size: 18px; line-height: 1.5; }
.intro .body p:first-child { font-size: 23px; line-height: 1.4; }
.gallery-header p { font-size: 16px; line-height: 1.5; }
.history p { font-size: 17px; line-height: 1.5; }
.history p.highlight { font-size: 20px; line-height: 1.45; }
.step p { font-size: 14px; line-height: 1.5; }
.process-follow p { font-size: 15px; line-height: 1.5; }
.investment p { font-size: 18px; line-height: 1.5; }
.investment-list li { font-size: 14px; line-height: 1.45; }
.investment p.investment-caption, .investment p.investment-next { font-size: 14px; line-height: 1.5; }
.mission-quote { line-height: 1.35; }
.funding p { font-size: 17px; line-height: 1.5; }
.funding p.emphasis { font-size: 19px; line-height: 1.45; }
.donation-intro > p, .donation-qr-copy p { font-size: 16px; line-height: 1.5; }
.donation-qr-copy h3 { margin-top: 0; }
.closing p { font-size: 17px; line-height: 1.5; }
.footer { font-size: 14px; line-height: 1.5; }

/* Подписи, даты и короткие ссылки остаются читаемыми на телефоне. */
.eyebrow { font-size: 12px; line-height: 1.45; letter-spacing: .06em; }
.hero-funding-heading span, .funding-card .card-label, .donation-intro p.recipient-label { font-size: 13px; letter-spacing: .09em; }
.hero-funding-stats span, .funding-numbers span { font-size: 14px; line-height: 1.4; }
.hero-funding-footer > span { font-size: 13px; }
.step .index, .step a { font-size: 14px; }
.funding-card .current-label, .funding-card p.funding-note { font-size: 14px; }
.bank-details dt, .contact-person span { font-size: 14px; }
.source, .text-link, .map-link, .button { font-size: 14px; }

/* Способы участия: пожертвование рядом с суммами, труд — рядом с контактами. */
.funding-follow { flex-direction: column; align-items: flex-start; gap: 18px; }
.funding-follow-links { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.funding-card .donate-action { display: flex; width: 100%; margin-top: 26px; }
.funding-card-contact { display: block; width: fit-content; margin: 19px auto 0; color: #86411f; font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; text-underline-offset: 4px; }
.funding-card-contact:hover { color: var(--ink); }
.funding-card p.funding-note { margin-top: 14px; }
.funding-follow .work-action { font-family: var(--font); cursor: pointer; }
@media (max-width: 580px) {
  .funding-follow .work-action { width: 100%; }
}

/* Форма для желающих помочь на стройке. */
.work-signup { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 96px); align-items: start; padding-top: 104px; padding-bottom: 110px; scroll-margin-top: 24px; }
.work-signup h2 { margin: 0 0 26px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4.2vw, 58px); font-weight: 400; line-height: 1.08; letter-spacing: -.057em; }
.work-signup-copy > p:last-child { max-width: 460px; margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.5; }
.work-signup-form { padding: 34px; border: 1px solid #dfc89f; background: #fff9ed; }
.work-signup-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.work-signup-form label { display: flex; flex-direction: column; gap: 9px; min-width: 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.work-signup-form label span { color: var(--ink-soft); font-weight: 400; }
.work-signup-form input, .work-signup-form select, .work-signup-form textarea { display: block; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #c7b99b; border-radius: 2px; background: #fff; color: var(--ink); font: 400 16px/1.35 var(--font); letter-spacing: 0; }
.work-signup-form textarea { min-height: 88px; resize: vertical; }
.work-signup-form input::placeholder, .work-signup-form textarea::placeholder { color: #737d77; opacity: 1; }
.work-signup-form input:focus-visible, .work-signup-form select:focus-visible, .work-signup-form textarea:focus-visible, .work-signup-submit:focus-visible { outline: 3px solid #c7793a; outline-offset: 2px; }
.work-signup-wide { grid-column: 1 / -1; }
.work-signup-submit { width: 100%; margin-top: 28px; border: 0; border-radius: 2px; background: var(--deep); color: #fff8e8; cursor: pointer; font-family: var(--font); font-size: 16px; }
.work-signup-submit:hover { background: #74452e; }
.work-signup + .donation { padding-top: 20px; }
.work-signup-dialog { width: min(1040px, calc(100% - 36px)); max-width: 1040px; max-height: 92vh; max-height: 92dvh; margin: auto; padding: 62px 48px 48px; border: 1px solid #dfc89f; background: var(--paper); box-shadow: 0 26px 80px rgba(24, 37, 32, .26); overflow-y: auto; }
.work-signup-dialog:not([open]) { display: none; }
.work-signup-dialog[open] { display: grid; }
.work-signup-dialog::backdrop { background: rgba(22, 31, 28, .66); }
.work-signup-close { position: absolute; top: 19px; right: 23px; padding: 5px 0; border: 0; background: transparent; color: #86411f; font: 700 14px/1.3 var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.work-signup-close:focus-visible { outline: 3px solid #c7793a; outline-offset: 4px; }

@media (max-width: 900px) {
  .work-signup { grid-template-columns: 1fr; gap: 30px; }
  .work-signup-copy > p:last-child { max-width: 660px; }
}
@media (max-width: 580px) {
  .work-signup-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 58px 17px 18px; }
  .work-signup h2 { font-size: clamp(35px, 10vw, 47px); }
  .work-signup-form { padding: 22px 19px; }
  .work-signup-fields { grid-template-columns: 1fr; gap: 18px; }
  .work-signup-wide { grid-column: 1; }
}

/* Более сочная осенняя палитра: золотой свет, терракота и зелень. */
:root {
  --paper: #fff8e9;
  --soft: #fbe9c3;
  --lime: #f6c35d;
  --accent: #a94a22;
  --line: #e9ca99;
}

body { background: var(--paper); }
.topbar { border-bottom-color: #e8c994; }
.mark { background: #704123; }
.mark i { background: #ffc660; }
.nav a:last-child { background: #fff0cc; border-color: #a3542c; }
.nav a:last-child:hover { background: #a54e27; color: #fffaf0; }

.hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(206, 88, 37, .26), transparent 33%),
    radial-gradient(circle at 8% 80%, rgba(255, 241, 180, .72), transparent 38%),
    linear-gradient(110deg, #fff0c8 0%, #ffda8c 52%, #f2b263 100%);
}
.falling-leaves span { opacity: .32; filter: saturate(1.25); }
.hero-funding { border-color: #d27a32; background: rgba(255, 250, 236, .97); box-shadow: 0 18px 38px rgba(118, 65, 26, .14); }
.hero-funding-heading span { color: #a7461f; }
.hero-funding-stats > div:first-child strong { color: #a84922; }
.hero-funding-footer .progress { background: #ebd1a2; }
.hero-funding-footer .progress span { background: linear-gradient(90deg, #bd4d25, #efad37); }
.button { background: #f3b940; box-shadow: 0 4px 0 rgba(115, 62, 24, .13); }
.button:hover { background: #ffd06a; }
.hero-actions .button:first-child { background: #4c704b; color: #fffaf0; box-shadow: 0 4px 0 rgba(44, 74, 46, .16); }
.hero-actions .button:first-child:hover { background: #365b3b; }
.hero-visual { border-top-color: #c25828; }
.hero-visual img { filter: saturate(1.11) contrast(1.025); }

.source, .text-link, .map-link { color: #a74920; }
.gallery-grid a { border-color: #dea65d; background: #f6dba9; }
.history figure { border-color: #dca55d; background: #fff1d2; }
.process { background: linear-gradient(155deg, #f6d28e 0%, #fff0ce 56%, #f4cb80 100%); }
.step { border-top-color: #bd552a; box-shadow: 0 15px 35px rgba(112, 61, 25, .12); }
.step:nth-child(2) { border-top-color: #d3892e; }
.step:nth-child(3) { border-top-color: #63794b; }
.step:nth-child(4) { border-top-color: #b34e2a; }
.button.light, .funding-follow .work-action { background: #566f4a; color: #fff9eb; }
.button.light:hover, .funding-follow .work-action:hover { background: #3f5d3d; color: #fff; }

.investment { background: radial-gradient(circle at 82% 12%, rgba(215, 125, 55, .35), transparent 36%), linear-gradient(125deg, #64361f, #8a4827 54%, #5e3428); }
.investment-detail { background: #fff2da; }
.funding { background: #fff7e8; }
.mission-quote { border-left-color: #c45b2a; background: #ffe5b7; }
.funding-card { border-color: #d69346; background: linear-gradient(145deg, #f9d790, #fff0cd 78%); }
.funding-card p.current { color: #a44923; }
.progress { background: #e8c78c; }
.progress span { background: linear-gradient(90deg, #b94725, #eca736); }
.donate-action { background: #a94c28; color: #fffaf0; }
.donate-action:hover { background: #8f3b20; }
.donation-panel { border-left-color: #bd5a2c; background: #fbe7bf; }
.contact-person { border-color: #cdd3b3; background: #f1f2df; }
.icon-link { border-color: #e1bd7d; background: #fff4dd; }
.footer { border-top-color: #dfb879; }

@media (max-width: 760px) {
  .falling-leaves span { opacity: .22; }
}

/* Ход строительства: карточки листаются жестом, мышью и трекпадом. */
.steps {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
}
.steps::-webkit-scrollbar { display: none; }
.steps .step { min-height: 295px; scroll-snap-align: start; }
.steps.is-dragging { scroll-snap-type: none; scroll-behavior: auto; user-select: none; cursor: grabbing; }
.steps.is-dragging .step:hover { transform: none; }
.steps-progress { position: relative; height: 5px; margin-top: 7px; border-radius: 99px; background: rgba(119, 74, 38, .18); }
.steps-progress[hidden] { display: none; }
.steps-progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; border-radius: inherit; background: linear-gradient(90deg, #ae4d27, #e3a037); transition: left .18s ease-out; }
.process-follow { margin-top: 34px; }

@media (max-width: 1100px) {
  .steps { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: none; grid-auto-columns: 100%; gap: 13px; }
}
@media (max-width: 580px) {
  .steps { grid-template-columns: none; grid-auto-columns: 100%; gap: 12px; }
  .steps .step { min-height: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  .steps { scroll-behavior: auto; }
  .steps-progress span { transition: none; }
}
