@font-face {
  font-family: "Neucha";
  src: url("assets/Neucha.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfaf6;
  --ink: #16271f;
  --muted: #69736e;
  --green: #83b72d;
  --green-dark: #1d563f;
  --green-soft: #edf5dc;
  --line: #dde3db;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #eef0eb;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 24px 24px;
  background: var(--paper);
  box-shadow: 0 0 36px rgba(21, 47, 34, .09);
}

.brand-copy strong,
.nav a,
.header-action,
.menu-toggle,
h1, h2, h3,
.button,
.eyebrow,
.round-icon,
.stat strong,
.partner-row,
.footer-label {
  font-family: "Neucha", "Segoe Print", cursive;
  font-weight: 400;
}

.header {
  height: 74px;
  padding: 0 6px;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.menu-toggle { display: none; }
.brand { width: 255px; display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 48px; height: 48px; flex: 0 0 48px; }
.brand-mark svg { width: 100%; height: 100%; fill: var(--green); }
.brand-mark .brand-hand { fill: var(--paper); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 27px; letter-spacing: .2px; }
.brand-copy small { color: var(--green); font-size: 9px; text-transform: uppercase; letter-spacing: 1.15px; margin-top: 4px; }
.nav { height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; gap: 27px; }
.nav a { height: 100%; display: grid; place-items: center; position: relative; font-size: 16px; text-transform: uppercase; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 13px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-action { min-height: 40px; margin: 0; padding: 10px 17px; display: flex; align-items: center; gap: 8px; color: #fff; background: linear-gradient(135deg, #6da822, #8fc737); border-radius: 10px; font-size: 16px; white-space: nowrap; box-shadow: 0 8px 20px rgba(105, 164, 35, .18); }
.header-action svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.hero { height: 400px; margin-top: 14px; border-radius: var(--radius); overflow: hidden; position: relative; display: block; background: #f7f2e8; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(32, 70, 47, .08); border-radius: inherit; }
.hero-content { width: 60%; height: 100%; position: relative; z-index: 2; padding: 39px 16px 24px 40px; }
.eyebrow { margin: 0 0 17px; color: #60716a; text-transform: uppercase; font-size: 12px; letter-spacing: 2.1px; }
h1 { margin: 0; font-size: 62px; line-height: .92; letter-spacing: -.7px; }
.hero-lead { width: 440px; margin: 17px 0 19px; font-size: 18px; line-height: 1.4; }
.hero-actions { display: flex; gap: 15px; }
.button { min-height: 48px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 10px; text-transform: uppercase; font-size: 17px; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #74aa27, #96c844); box-shadow: 0 10px 22px rgba(106, 160, 36, .2); }
.button-secondary { border: 1.5px solid var(--green); background: rgba(255,255,255,.58); }
.hero-photo { position: absolute; z-index: 0; inset: 0; background: url("assets/hero-family.jpg") center 48% / cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f9f6ee 0%, rgba(249,246,238,.97) 31%, rgba(249,246,238,.83) 43%, rgba(249,246,238,.18) 58%, transparent 68%); }
.photo-note { position: absolute; right: 22px; bottom: 24px; color: white; font: 20px/1.2 "Segoe Print", "Comic Sans MS", cursive; text-align: right; transform: rotate(-7deg); text-shadow: 0 2px 12px rgba(0,0,0,.45); }

.section { padding: 32px 12px 0; }
.section-heading { min-height: 56px; display: grid; grid-template-columns: 320px 1fr 150px; align-items: center; gap: 20px; margin-bottom: 23px; }
.section-heading h2 { margin: 0; font-size: 43px; line-height: .9; letter-spacing: -.3px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.section-heading > a { justify-self: end; color: #6c9f27; font-size: 13px; font-weight: 700; }
.section-heading > a span { margin-left: 10px; font-size: 18px; }
.section-heading.compact { grid-template-columns: auto 1fr 140px; }

.help-grid, .news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.help-card, .news-card { min-width: 0; overflow: hidden; position: relative; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 8px 24px rgba(25, 52, 39, .045); }
.help-card { min-height: 288px; }
.card-photo { height: 132px; background-color: #dfe7dc; background-size: cover; background-position: center; }
.family-photo { background-image: url("assets/help-family.jpg"); background-position: center 46%; }
.ability-photo { background-image: url("assets/help-wheelchair.jpg"); background-position: center 42%; }
.children-photo { background-image: url("assets/help-child.jpg"); background-position: center 40%; }
.emergency-photo { background-image: url("assets/help-emergency.jpg"); background-position: center 48%; }
.round-icon { position: absolute; top: 108px; left: 14px; width: 50px; height: 50px; display: grid; place-items: center; color: var(--green); background: white; border-radius: 50%; box-shadow: 0 3px 12px rgba(31, 67, 46, .12); }
.round-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round-icon svg .filled { fill: currentColor; stroke: none; }
.help-card h3 { margin: 24px 15px 6px; font-size: 23px; line-height: 1; }
.help-card p { margin: 0 15px 17px; color: var(--muted); font-size: 13px; line-height: 1.4; }

.results { min-height: 172px; margin: 32px 0 0; padding: 25px 28px; position: relative; overflow: hidden; display: grid; grid-template-columns: 240px repeat(4, 1fr); align-items: center; border-radius: var(--radius); background: radial-gradient(circle at 95% 30%, rgba(156,197,61,.18), transparent 22%), linear-gradient(110deg, #f5f5e8, #edf6da); border: 1px solid #e2e9d2; }
.results::after { content: ""; width: 180px; position: absolute; z-index: 0; top: -2px; right: 2px; bottom: -2px; background: url("assets/results-heart.svg") center / contain no-repeat; opacity: .94; pointer-events: none; }
.results > * { position: relative; z-index: 1; }
.results-intro { height: 110px; border-right: 1px solid #a7ba91; }
.results-intro h2 { margin: 0 0 12px; font-size: 42px; line-height: .85; }
.results-intro p { max-width: 220px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.stat { padding-left: 31px; display: grid; grid-template-columns: 1fr; grid-template-rows: 44px auto auto; align-content: center; }
.stat svg { width: 40px; height: 40px; fill: none; stroke: #6aa022; stroke-width: 1.8; }
.stat strong { align-self: end; font-size: 31px; letter-spacing: 0; line-height: 1.05; white-space: nowrap; }
.stat span { color: var(--muted); font-size: 12px; line-height: 1.35; }

.news-section { padding-top: 35px; }
.news-card { min-height: 317px; }
.news-photo { height: 145px; background-size: cover; background-position: center; }
.news-photo-one { background-image: url("assets/help-banner.png"); background-position: 100% center; }
.news-photo-two { background-image: url("assets/hero-original.jpg"); background-position: 76% center; }
.news-photo-three { display: grid; place-items: center; color: white; background: linear-gradient(145deg, rgba(25,80,55,.94), rgba(123,176,46,.9)), url("assets/help-banner.png") center / cover; font-size: 28px; font-weight: 800; text-align: center; }
.news-photo-three small { font-size: 13px; font-weight: 500; letter-spacing: 1.5px; }
.news-photo-four { background-image: url("assets/help-banner.png"); background-position: 78% center; filter: saturate(.78); }
.news-body { min-height: 170px; position: relative; padding: 13px 15px 28px; font-family: "Segoe UI", Arial, sans-serif; }
.news-body time { color: #929994; font-size: 12px; }
.news-body h3 { margin: 7px 0 5px; font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.17; }
.news-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.news-body > a { position: absolute; right: 16px; bottom: 10px; color: #6e9f2b; font-size: 20px; }

.partners { padding: 37px 12px 33px; }
.partner-row { min-height: 72px; display: grid; grid-template-columns: repeat(5, 1fr) 170px; align-items: center; gap: 12px; color: #777e7a; }
.partner-row > span { font-size: 14px; font-weight: 900; letter-spacing: .4px; text-align: center; }
.partner-row > em { color: #669628; font: 20px/1.1 "Segoe Print", "Comic Sans MS", cursive; text-align: center; transform: rotate(-5deg); }

.footer { min-height: 225px; position: relative; display: grid; grid-template-columns: 260px 245px 1fr 215px; padding: 28px 31px 48px; gap: 20px; color: white; background: radial-gradient(circle at 90% 10%, rgba(134,188,45,.18), transparent 28%), linear-gradient(120deg, #174a38, #1e6046); border-radius: var(--radius); overflow: hidden; }
.footer .brand { width: auto; }
.footer .brand-copy strong { font-size: 24px; }
.footer .brand-copy small { color: #dceacb; }
.footer .brand-mark svg { fill: white; }
.footer .brand-mark .brand-hand { fill: var(--green-dark); }
.footer-brand p { margin: 10px 0 0 62px; color: #e2ebe6; font-size: 13px; }
.footer-note { align-self: center; color: white; font: 28px/1.05 "Segoe Print", "Comic Sans MS", cursive; text-align: center; transform: rotate(-8deg); }
.footer-note span { padding-left: 38px; }
.footer-contact { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.footer-label { color: #cddbd4; font-size: 10px; text-transform: uppercase; letter-spacing: 1.6px; }
.footer-contact a { font-weight: 700; }
.footer-contact p { margin: 0; color: #d9e3df; font-size: 12px; }
.footer-action { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.footer-action .button { min-width: 190px; }
.socials { display: flex; justify-content: center; gap: 10px; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; color: var(--green-dark); background: white; border-radius: 50%; font-size: 10px; font-weight: 900; }
.footer-bottom { position: absolute; left: 31px; right: 31px; bottom: 16px; padding-top: 12px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.25); color: #cbd8d2; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Внутренние страницы */
.inner-page { padding-top: 18px; }
.page-hero { min-height: 392px; padding: 58px 44px; display: grid; grid-template-columns: 1.45fr .8fr; gap: 70px; align-items: center; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 90% 20%, rgba(137,189,50,.21), transparent 29%), linear-gradient(120deg, #f9f5ea, #eef5dd); border: 1px solid #e1e8d7; }
.page-hero h1, .listing-header h1, .contact-hero h1 { margin: 8px 0 24px; font-size: 64px; line-height: .92; }
.page-hero-copy > p:last-child, .listing-header > div > p:last-child, .contact-hero > div > p:last-child { max-width: 670px; margin: 0; color: var(--muted); font: 17px/1.55 "Segoe UI", Arial, sans-serif; }
.page-hero-aside { padding: 22px 0 22px 38px; border-left: 1px solid rgba(58,99,68,.25); }
.large-quote { height: 42px; display: block; color: var(--green); font: 68px/1 Georgia, serif; }
.page-hero-aside blockquote { margin: 0 0 16px; font: 30px/1.14 "Neucha", cursive; }
.page-hero-aside p { margin: 0; color: var(--muted); font-size: 12px; }

.story-grid { margin: 42px 12px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: stretch; }
.story-photo { min-height: 430px; border-radius: var(--radius); background: url("assets/about-volunteers.jpg") center / cover; }
.story-copy { padding: 32px 20px 20px 0; }
.story-copy h2, .documents-section h2, .contact-option h2, .contact-info-main h2 { margin: 6px 0 20px; font-size: 46px; line-height: .95; }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.65; }
.registration-note { margin-top: 25px; padding: 18px 20px; display: flex; align-items: center; gap: 20px; background: var(--green-soft); border-radius: 12px; }
.registration-note strong { font: 27px "Neucha", cursive; white-space: nowrap; }
.registration-note span { color: var(--muted); font-size: 12px; }

.values-section, .process-section, .news-catalog { padding: 30px 12px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.value-card { min-height: 235px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.value-card > span { color: var(--green); font: 18px "Neucha", cursive; }
.value-card h3 { margin: 34px 0 12px; font-size: 31px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.process-section { margin: 15px 0 30px; }
.process-list { margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: process; }
.process-list li { min-height: 205px; padding: 22px 24px; position: relative; border-top: 1px solid #aabd96; border-right: 1px solid var(--line); }
.process-list li:last-child { border-right: 0; }
.process-list li > span { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font: 19px "Neucha", cursive; }
.process-list h3 { margin: 22px 0 8px; font-size: 24px; }
.process-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.documents-section { margin: 0 12px 42px; padding: 36px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; color: white; background: linear-gradient(120deg, #194a38, #28694c); border-radius: var(--radius); }
.documents-section > div > p:last-child { color: #d7e1dc; }
.documents-section .eyebrow { color: #bfda95; }
.document-card { min-height: 105px; padding: 17px; display: grid; grid-template-columns: 66px 1fr 30px; gap: 18px; align-items: center; color: var(--ink); background: white; border-radius: 12px; }
.document-icon { width: 62px; height: 70px; display: grid; place-items: center; color: white; background: #78ae2a; border-radius: 8px 8px 14px 8px; font: 18px "Neucha", cursive; }
.document-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.document-card strong { font: 23px "Neucha", cursive; }
.document-card small { color: var(--muted); }
.document-card b { color: var(--green); font-size: 25px; }

.inner-cta { margin: 0 12px 42px; padding: 32px 38px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(110deg, #f4f6e9, #eaf4d7); border: 1px solid #dfe8d0; border-radius: var(--radius); }
.inner-cta h2 { margin: 0; font-size: 39px; line-height: .98; }
.inner-cta .eyebrow { margin-bottom: 8px; }
.compact-footer { margin-top: 0; }

/* Новости */
.listing-header { min-height: 290px; padding: 50px 44px; display: grid; grid-template-columns: 1fr 280px; align-items: center; background: linear-gradient(110deg, #fbf8ef, #f2f5e9); border-radius: var(--radius); }
.listing-header h1 { margin-bottom: 18px; }
.news-mark { color: #6e9f2a; font: 40px/1 "Neucha", cursive; text-align: center; transform: rotate(-5deg); }
.featured-story { margin: 34px 12px 10px; display: grid; grid-template-columns: 1.25fr .75fr; min-height: 390px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.featured-photo { background: url("assets/help-banner.png") 74% center / cover; }
.featured-copy { padding: 44px 38px; display: flex; flex-direction: column; justify-content: center; }
.news-label, .catalog-body > span { align-self: flex-start; padding: 5px 9px; color: #557e20; background: var(--green-soft); border-radius: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.featured-copy time { margin-top: 18px; color: #8b938e; font-size: 12px; }
.featured-copy h2 { margin: 10px 0 14px; font-size: 39px; line-height: 1; }
.featured-copy p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.text-link { color: #629224; font: 19px "Neucha", cursive; }
.text-link span { margin-left: 9px; }

.catalog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.catalog-top h2 { margin: 0; font-size: 42px; }
.filters { display: flex; gap: 8px; }
.filter { padding: 8px 14px; color: var(--ink); background: transparent; border: 1px solid #cfd8ca; border-radius: 20px; font: 16px "Neucha", cursive; cursor: pointer; }
.filter.active, .filter:hover { color: white; background: var(--green); border-color: var(--green); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(25,52,39,.04); transition: opacity .2s ease, transform .2s ease; }
.catalog-card.hidden { display: none; }
.catalog-photo { height: 190px; background-size: cover; background-position: center; }
.photo-a, .photo-e { background-image: url("assets/hero-original.jpg"); background-position: 74% center; }
.photo-b, .photo-c, .photo-d { background-image: url("assets/help-banner.png"); background-position: 82% center; }
.report-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: linear-gradient(145deg, rgba(25,80,55,.94), rgba(123,176,46,.9)), url("assets/help-banner.png") center / cover; font: 32px "Segoe UI", Arial, sans-serif; font-weight: 800; }
.report-photo small { margin-top: 8px; font-size: 11px; letter-spacing: 1.7px; }
.catalog-body { min-height: 200px; padding: 17px; position: relative; font-family: "Segoe UI", Arial, sans-serif; }
.catalog-body time { float: right; margin-top: 4px; color: #939b96; font-size: 11px; }
.catalog-body h3 { clear: both; margin: 15px 0 8px; font-family: "Segoe UI", Arial, sans-serif; font-size: 19px; font-weight: 700; line-height: 1.2; }
.catalog-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.catalog-body a { position: absolute; left: 17px; bottom: 15px; color: #669626; font-size: 12px; font-weight: 700; }

/* Детальная страница новости */
.article-page { font-family: "Segoe UI", Arial, sans-serif; }
.article-back { margin: 10px 12px 22px; display: inline-flex; align-items: center; gap: 9px; color: #608f24; font-size: 13px; font-weight: 700; }
.article-back span { font-size: 20px; line-height: 1; }
.article-header { margin: 0 12px 24px; padding: 44px 42px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 60px; align-items: end; background: linear-gradient(115deg, #faf7ef, #edf5dc); border: 1px solid #e0e8d3; border-radius: var(--radius); }
.article-heading h1 { max-width: 760px; margin: 17px 0 18px; font-family: "Segoe UI", Arial, sans-serif; font-size: 50px; font-weight: 750; line-height: 1.04; letter-spacing: -.8px; }
.article-lead { max-width: 760px; margin: 0; color: #55635c; font-size: 18px; line-height: 1.55; }
.article-meta { padding-left: 27px; display: grid; gap: 5px; border-left: 1px solid #b8c8aa; }
.article-meta span { margin-top: 15px; color: #7c8781; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.article-meta span:first-child { margin-top: 0; }
.article-meta time, .article-meta strong { font-size: 14px; }
.article-cover { height: 480px; margin: 0 12px 36px; overflow: hidden; border-radius: var(--radius); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.article-layout { max-width: 950px; margin: 0 auto 46px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 58px; align-items: start; }
.article-content { color: #37463f; font-size: 16px; line-height: 1.75; }
.article-content > p { margin: 0 0 24px; }
.article-content h2 { margin: 39px 0 15px; font-family: "Segoe UI", Arial, sans-serif; font-size: 28px; font-weight: 750; line-height: 1.2; }
.article-quote { margin: 34px 0; padding: 26px 30px 26px 35px; position: relative; color: #244a38; background: #f0f6e3; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; font-size: 20px; font-weight: 600; line-height: 1.5; }
.article-note { margin-top: 36px; padding: 26px 28px; background: #faf8f1; border: 1px solid var(--line); border-radius: 13px; }
.article-note strong { font-size: 18px; }
.article-note p { margin: 8px 0 13px; color: var(--muted); }
.article-aside { padding: 28px 25px; position: sticky; top: 20px; color: white; background: linear-gradient(145deg, #174b38, #276a4d); border-radius: 14px; }
.article-aside-icon { color: #a9d268; font: 42px/1 Georgia, serif; }
.article-aside h2 { margin: 13px 0 12px; font-family: "Segoe UI", Arial, sans-serif; font-size: 23px; line-height: 1.2; }
.article-aside p { margin: 0 0 25px; color: #dce8e2; font-size: 14px; line-height: 1.55; }
.article-aside .button { width: 100%; padding-inline: 16px; font-size: 15px; }
.article-related { padding: 36px 12px 46px; border-top: 1px solid var(--line); }
.article-related .catalog-grid { grid-template-columns: repeat(3, 1fr); }

/* Контакты */
.contact-hero { min-height: 420px; padding: 54px 44px; display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; background: radial-gradient(circle at 10% 10%, rgba(142,193,52,.14), transparent 28%), #f8f6ed; border-radius: var(--radius); }
.direct-contacts { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 14px; }
.direct-contacts a { min-height: 90px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
.direct-contacts a:last-child { border-bottom: 0; }
.direct-contacts span { grid-column: 1; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.direct-contacts strong { grid-column: 1; font: 24px "Neucha", cursive; }
.direct-contacts b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--green); font-size: 24px; }
.contact-options { margin: 36px 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-option { min-height: 475px; padding: 32px; display: flex; flex-direction: column; border-radius: var(--radius); }
.help-us { color: white; background: linear-gradient(145deg, #174b38, #246448); }
.need-help { background: linear-gradient(145deg, #f5f6eb, #eaf4d5); border: 1px solid #dce7ca; }
.option-number { margin-left: auto; font: 27px "Neucha", cursive; opacity: .55; }
.contact-option h2 { font-size: 43px; }
.contact-option p:not(.eyebrow), .contact-option li { font-size: 14px; line-height: 1.55; }
.help-us p:not(.eyebrow), .help-us li { color: #dce8e2; }
.contact-option ul { margin: 22px 0 30px; padding: 0; list-style: none; }
.contact-option li { padding: 9px 0 9px 25px; position: relative; border-bottom: 1px solid rgba(128,150,136,.25); }
.contact-option li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.contact-option .button { align-self: flex-start; margin-top: auto; }
.help-us .eyebrow { color: #bad78c; }

.contact-info-grid { margin: 0 12px 32px; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 390px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-info-main { padding: 45px; background: white; }
.contact-info-main dl { margin: 30px 0 0; }
.contact-info-main dl div { padding: 14px 0; display: grid; grid-template-columns: 210px 1fr; border-top: 1px solid var(--line); }
.contact-info-main dt { color: var(--muted); font-size: 12px; }
.contact-info-main dd { margin: 0; font-weight: 700; }
.contact-photo { position: relative; background: url("assets/contact-conversation.jpg") center / cover; }
.contact-photo span { position: absolute; right: 26px; bottom: 25px; color: white; font: 30px "Neucha", cursive; transform: rotate(-5deg); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.contact-reminder { margin: 0 12px 42px; padding: 20px 25px; display: flex; gap: 24px; align-items: center; background: #fff9e7; border: 1px solid #eee1b8; border-radius: 12px; }
.contact-reminder span { color: #876d1c; font: 22px "Neucha", cursive; }
.contact-reminder p { margin: 0; color: #756b4b; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Планшеты */
@media (max-width: 1020px) {
  .site-shell { width: calc(100% - 24px); padding: 0 18px 18px; }
  .header { height: 72px; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 14px; }
  .brand { width: 210px; }
  .brand-copy strong { font-size: 25px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .header-action { padding: 10px 13px; font-size: 15px; }

  .hero { height: 380px; }
  .hero-content { width: 66%; padding: 42px 12px 25px 30px; }
  h1 { font-size: 53px; }
  .hero-lead { width: 410px; font-size: 17px; }

  .section-heading { grid-template-columns: 270px 1fr 120px; }
  .help-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .help-card { min-height: 292px; }
  .card-photo, .news-photo { height: 175px; }
  .round-icon { top: 150px; }

  .results { grid-template-columns: 210px repeat(2, 1fr); row-gap: 24px; }
  .results-intro { grid-row: 1 / 3; height: 100%; display: flex; flex-direction: column; justify-content: center; }

  .partner-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .footer { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 58px; }
  .footer-note { order: 3; }
  .footer-action { order: 4; }
}

/* Телефоны */
@media (max-width: 700px) {
  .site-shell { width: 100%; padding: 0 10px 10px; box-shadow: none; }
  .header { height: 70px; position: relative; display: flex; padding: 0; }
  .brand { width: auto; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 24px; }
  .brand-copy small { font-size: 8px; }
  .header-action { display: none; }

  .menu-toggle { width: 44px; height: 44px; margin-left: auto; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 5px; color: var(--ink); background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { height: auto; position: absolute; z-index: 20; top: 69px; left: -10px; right: -10px; margin: 0; padding: 10px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 16px 22px rgba(20,50,35,.12); }
  .nav.open { display: flex; }
  .nav a { height: 46px; display: flex; padding: 0 16px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .hero { height: auto; min-height: 660px; margin-top: 10px; display: flex; flex-direction: column; }
  .hero-content { width: auto; height: auto; min-height: 360px; padding: 30px 22px 20px; background: #f9f6ee; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  h1 { font-size: 50px; line-height: .92; }
  .hero-lead { width: auto; margin: 16px 0 19px; font-size: 16px; }
  .hero-actions { gap: 10px; }
  .button { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .hero-photo { min-height: 300px; position: relative; z-index: auto; inset: auto; background-position: 66% center; }
  .hero-photo::before { background: linear-gradient(180deg, #f9f6ee 0%, rgba(249,246,238,0) 22%); }
  .photo-note { font-size: 17px; }

  .section { padding: 28px 6px 0; }
  .section-heading, .section-heading.compact { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 18px; }
  .section-heading h2 { grid-column: 1; font-size: 39px; }
  .section-heading p { grid-column: 1 / 3; grid-row: 2; font-size: 13px; }
  .section-heading > a { grid-column: 2; grid-row: 1; align-self: center; font-size: 12px; }

  .help-grid, .news-grid { grid-template-columns: 1fr; gap: 13px; }
  .help-card { min-height: 0; }
  .card-photo, .news-photo { height: 190px; }
  .round-icon { top: 165px; }
  .help-card h3 { margin-top: 25px; font-size: 26px; }

  .results { margin-top: 24px; padding: 24px 18px; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .results-intro { grid-column: 1 / 3; grid-row: auto; height: auto; padding-bottom: 18px; display: block; border-right: 0; border-bottom: 1px solid #a7ba91; }
  .results-intro h2 { font-size: 40px; }
  .results-intro p { max-width: none; }
  .stat { padding-left: 0; grid-template-columns: 1fr; grid-template-rows: 38px auto auto; }
  .stat svg { width: 34px; height: 34px; }
  .stat strong { font-size: 25px; }
  .stat span { font-size: 11px; }

  .news-card { min-height: 0; }
  .news-body { min-height: 155px; }
  .partners { padding: 30px 6px 25px; }
  .partner-row { grid-template-columns: repeat(2, 1fr); font-size: 12px; }
  .partner-row > em { grid-column: 1 / 3; }

  .footer { min-height: 0; grid-template-columns: 1fr; padding: 27px 22px 70px; gap: 25px; }
  .footer-brand p { margin-left: 0; }
  .footer-note { order: initial; text-align: left; }
  .footer-contact { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .footer-action { order: initial; align-items: flex-start; }
  .footer-bottom { left: 22px; right: 22px; gap: 10px; flex-direction: column; }
}

@media (max-width: 390px) {
  .brand-copy small { display: none; }
  h1 { font-size: 43px; }
  .hero-content { min-height: 345px; padding-inline: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .results { grid-template-columns: 1fr; }
  .results-intro { grid-column: 1; }
  .stat { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) {
  .page-hero { padding: 44px 34px; gap: 40px; }
  .page-hero h1, .listing-header h1, .contact-hero h1 { font-size: 54px; }
  .story-grid { gap: 35px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .documents-section { gap: 35px; }
  .listing-header { grid-template-columns: 1fr 210px; }
  .featured-story { grid-template-columns: 1fr 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-header { gap: 35px; }
  .article-heading h1 { font-size: 44px; }
  .article-cover { height: 410px; }
  .article-layout { padding: 0 24px; gap: 35px; }
  .contact-hero { grid-template-columns: 1fr 360px; gap: 35px; padding: 42px 32px; }
  .contact-info-main { padding: 35px; }
}

@media (max-width: 700px) {
  .inner-page { padding-top: 10px; }
  .page-hero, .listing-header, .contact-hero { min-height: 0; padding: 34px 22px; grid-template-columns: 1fr; gap: 30px; }
  .page-hero h1, .listing-header h1, .contact-hero h1 { font-size: 47px; }
  .page-hero-copy > p:last-child, .listing-header > div > p:last-child, .contact-hero > div > p:last-child { font-size: 15px; }
  .page-hero-aside { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(58,99,68,.25); }
  .page-hero-aside blockquote { font-size: 27px; }

  .story-grid { margin: 24px 6px; grid-template-columns: 1fr; gap: 10px; }
  .story-photo { min-height: 280px; }
  .story-copy { padding: 22px 12px; }
  .story-copy h2, .documents-section h2, .contact-option h2, .contact-info-main h2 { font-size: 38px; }
  .registration-note { align-items: flex-start; flex-direction: column; gap: 4px; }

  .values-section, .process-section, .news-catalog { padding: 25px 6px; }
  .values-grid, .catalog-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 190px; }
  .value-card h3 { margin-top: 20px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 155px; display: grid; grid-template-columns: 45px 1fr; gap: 12px; border-right: 0; }
  .process-list h3 { margin: 0 0 7px; }

  .documents-section { margin: 0 6px 25px; padding: 28px 22px; grid-template-columns: 1fr; gap: 25px; }
  .document-card { grid-template-columns: 52px 1fr 20px; gap: 12px; }
  .document-icon { width: 50px; height: 59px; }
  .inner-cta { margin: 0 6px 25px; padding: 27px 22px; align-items: flex-start; flex-direction: column; gap: 22px; }
  .inner-cta h2 { font-size: 34px; }

  .listing-header { text-align: left; }
  .news-mark { display: none; }
  .featured-story { margin: 24px 6px 8px; grid-template-columns: 1fr; }
  .featured-photo { min-height: 260px; }
  .featured-copy { padding: 28px 22px; }
  .featured-copy h2 { font-size: 34px; }
  .catalog-top { align-items: flex-start; flex-direction: column; gap: 15px; }
  .filters { width: 100%; padding-bottom: 4px; overflow-x: auto; }
  .filter { white-space: nowrap; }
  .catalog-photo { height: 220px; }
  .article-back { margin: 8px 6px 17px; }
  .article-header { margin: 0 6px 18px; padding: 28px 22px; grid-template-columns: 1fr; gap: 25px; }
  .article-heading h1 { margin-top: 14px; font-size: 36px; letter-spacing: -.4px; }
  .article-lead { font-size: 16px; }
  .article-meta { padding: 18px 0 0; grid-template-columns: 1fr 1fr; column-gap: 20px; border-left: 0; border-top: 1px solid #b8c8aa; }
  .article-meta span { margin-top: 0; }
  .article-meta time, .article-meta strong { grid-row: 2; }
  .article-cover { height: 270px; margin: 0 6px 28px; }
  .article-layout { margin-bottom: 30px; padding: 0 16px; grid-template-columns: 1fr; gap: 30px; }
  .article-content { font-size: 15px; line-height: 1.68; }
  .article-quote { margin: 28px 0; padding: 22px 20px; font-size: 18px; }
  .article-aside { position: static; }
  .article-related { padding: 29px 6px 30px; }
  .article-related .catalog-grid { grid-template-columns: 1fr; }

  .contact-hero { gap: 25px; }
  .direct-contacts strong { font-size: 21px; }
  .contact-options { margin: 24px 6px; grid-template-columns: 1fr; }
  .contact-option { min-height: 430px; padding: 25px 22px; }
  .contact-info-grid { margin: 0 6px 24px; grid-template-columns: 1fr; }
  .contact-info-main { padding: 29px 22px; }
  .contact-info-main dl div { grid-template-columns: 1fr; gap: 4px; }
  .contact-photo { min-height: 260px; }
  .contact-reminder { margin: 0 6px 25px; align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 390px) {
  .page-hero h1, .listing-header h1, .contact-hero h1 { font-size: 41px; }
  .documents-section, .contact-option { padding-inline: 18px; }
  .document-card small { display: none; }
  .direct-contacts a { padding-inline: 17px; }
  .direct-contacts strong { font-size: 18px; }
}

.empty-news {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px;
    min-height: 140px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    color: var(--muted);
}

/* CMS hero slider */
.hero-slider {
  position: relative;
  margin-top: 14px;
}

.hero-slider .hero {
  margin-top: 0;
}

.hero-slider .hero[hidden] {
  display: none !important;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 40px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-arrow,
.hero-dot {
  cursor: pointer;
  border: 0;
  background: #fff;
  color: #1d563f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
}

.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 19px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.hero-dot[aria-current="true"] {
  background: #83b72d;
  outline: 2px solid #fff;
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 3px solid #1d563f;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .hero-slider { margin-top: 10px; }
  .hero-controls { left: 22px; bottom: 16px; }
}

/* Отступ перед подвалом при скрытых партнёрах */
.news-section-last {
  padding-bottom: 36px;
}

/* Страница благодарственных писем */
.thanks-hero {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 52px 44px;
  border-radius: 18px;
  background: linear-gradient(110deg, #faf8ef, #f0f7e3);
}

.thanks-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 70px);
}

.thanks-hero > p:last-of-type {
  max-width: 640px;
  color: #53645b;
  line-height: 1.6;
}

.thanks-hero-note {
  position: absolute;
  right: 48px;
  top: 90px;
  color: #6e9e2b;
  font: 32px "Segoe Print", cursive;
  transform: rotate(-9deg);
}

.thanks-section {
  padding: 44px 12px 48px;
}

.thanks-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.thanks-heading h2 {
  margin: 0;
  font-size: 42px;
}

.thanks-heading p {
  margin: 0;
  color: #65756b;
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.thanks-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e7db;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(25, 52, 39, .045);
}

.thanks-card-image {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #f5f7f2;
}

.thanks-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.thanks-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 17px;
}

.thanks-card-caption strong {
  font-size: 14px;
}

.thanks-card-caption > span {
  color: #74a729;
  font-size: 22px;
}

@media (max-width: 800px) {
  .thanks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thanks-hero-note { display: none; }
}

@media (max-width: 560px) {
  .thanks-hero { min-height: 0; padding: 34px 22px; }
  .thanks-section { padding: 34px 0; }
  .thanks-heading { display: block; }
  .thanks-heading p { margin-top: 10px; }
  .thanks-grid { grid-template-columns: 1fr; }
}

/* Просмотр благодарственных писем */
button.thanks-card {
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.thanks-card:focus-visible {
  outline: 3px solid #76a82d;
  outline-offset: 3px;
}

.thanks-dialog {
  position: fixed;
  width: min(94vw, 1000px);
  max-width: 94vw;
  max-height: 94vh;
  padding: 15px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

.thanks-dialog::backdrop {
  background: rgba(16, 38, 29, .8);
}

.thanks-dialog img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 30px);
  object-fit: contain;
}

.thanks-dialog-close {
  position: absolute;
  top: 21px;
  right: 21px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #173f31;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Фотографии импортированных новостей */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.article-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* Просмотр фотографий статьи */
.article-lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: #173e30;
}
.article-lightbox::backdrop {
  background: rgba(0, 0, 0, .82);
}
.article-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(95vh - 24px);
  object-fit: contain;
}
.article-lightbox [data-article-close] {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Imported news image alignment */
.news-card .news-photo {
  background-position: center top;
}

/* Article title size adjustment */
.article-header .article-heading h1 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.16;
  overflow-wrap: break-word;
}

/* News server pagination */
.news-filter-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #d8e4cf;
  border-radius: 999px;
  color: #23382e;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.news-filter-link.active,
.news-filter-link:hover {
  color: #fff;
  border-color: #76a827;
  background: #76a827;
}
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 12px;
}
.news-pagination a,
.news-pagination span {
  min-width: 38px;
  min-height: 38px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e4cf;
  border-radius: 9px;
  color: #23382e;
  text-decoration: none;
}
.news-pagination a:hover,
.news-pagination .current {
  color: #fff;
  border-color: #76a827;
  background: #76a827;
}
.news-pagination .disabled {
  opacity: .45;
}

/* Catalog card content flow fix */
.news-catalog .catalog-card {
  display: flex;
  flex-direction: column;
}

.news-catalog .catalog-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 8px;
}

.news-catalog .catalog-body > span {
  grid-column: 1;
  grid-row: 1;
}

.news-catalog .catalog-body time {
  grid-column: 2;
  grid-row: 1;
  float: none;
  justify-self: end;
}

.news-catalog .catalog-body h3 {
  grid-column: 1 / -1;
  grid-row: 2;
}

.news-catalog .catalog-body p {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-bottom: 18px;
}

.news-catalog .catalog-body a {
  grid-column: 1 / -1;
  grid-row: 4;
  position: static;
  align-self: end;
}

/* Catalog category badge width */
.news-catalog .catalog-body > span {
  justify-self: start;
}
