/* ==========================================================================
   Вдома UA — основні стилі. Mobile-first.
   Палітра та токени — з дизайн-системи «Warm Hearth Humanitarian».
   ========================================================================== */

/* ---------- Шрифти (локально, без Google Fonts) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-cyrillic-wght-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токени ---------- */
:root {
	--bg: #fcf9f2;
	--surface: #ffffff;
	--linen: #f6f3ec;
	--linen-2: #f0eee7;
	--linen-3: #e9e4da;
	--ink: #1c1c18;
	--ink-2: #554339;
	--muted: #6e6158;
	--line: #e6dfd5;
	--line-2: #dbc1b4;

	--primary: #994703;
	--primary-rgb: 153, 71, 3;
	--accent-rgb: 217, 119, 54;
	--accent-ink: #ffffff;
	--navy-rgb: 38, 70, 83;
	--bg-rgb: 252, 249, 242;
	--navy-soft-2: #d6e8f0;
	--band-end: #5b4a3f;
	--alert-1: #fde6d6;
	--alert-2: #fbe0cf;
	--alert-border: #f6cbb0;
	--alert-ink: #5a2a08;
	--progress: linear-gradient(90deg, #d97736, #994703);
	--give-bg: #264653;
	--give-fg: #ffffff;
	--display-accent: #994703;
	--primary-hover: #7a3802;
	--accent: #d97736;
	--primary-soft: #fdf0e6;
	--primary-tint: #ffdbc9;

	--navy: #264653;
	--navy-hover: #1b3540;
	--navy-2: #436370;
	--navy-soft: #e6f1f6;

	--sage: #386753;
	--sage-ink: #2d5a46;
	--sage-soft: #e3f2ea;
	--sand: #a08b7a;

	--error: #ba1a1a;
	--error-soft: #fff0ee;

	--r-sm: .5rem;
	--r: .75rem;
	--r-lg: 1rem;
	--r-xl: 1.5rem;

	--shadow-sm: 0 1px 2px rgba(var(--navy-rgb), .05);
	--shadow: 0 12px 32px -8px rgba(var(--accent-rgb), .14), 0 4px 12px -2px rgba(var(--navy-rgb), .06);
	--shadow-lg: 0 24px 48px -12px rgba(var(--primary-rgb), .18), 0 8px 16px -4px rgba(var(--navy-rgb), .08);

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Lora", Georgia, "Times New Roman", serif;

	--container: 1240px;
	--gutter: 1.25rem;
	--section: 3.5rem;
	--header-h: 64px;
	--dock-h: 0px;
}

@media (min-width: 641px) { :root { --gutter: 2rem; --section: 4.5rem; } }
@media (min-width: 1025px) { :root { --gutter: 3rem; --section: 5.5rem; --header-h: 76px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: var(--dock-h); }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary-tint); }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r); }
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Типографіка ---------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); letter-spacing: -.015em; }
.display { font-size: clamp(2.15rem, 1.4rem + 3.4vw, 3.6rem); line-height: 1.1; margin-bottom: .45em; }
.display__accent { color: var(--display-accent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); line-height: 1.12; }
.h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.35rem); line-height: 1.18; }
.h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.h4 { font-size: 1.125rem; line-height: 1.35; }
.h5 { font-size: 1rem; line-height: 1.4; margin-bottom: .25em; }
.lead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
@media (min-width: 1025px) { .lead { font-size: 1.15rem; } }
.small { font-size: .875rem; line-height: 1.55; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.center { text-align: center; }
.label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--navy { color: var(--navy-2); }
.eyebrow--sage { color: var(--sage); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { display: none; }

.with-icon { display: flex; align-items: flex-start; gap: .55rem; }
.with-icon .icon { color: var(--primary); margin-top: .15em; }

/* ---------- Сітка й секції ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .55) 0; }
.section--flush-top { padding-top: 0; }
.section--linen { background: var(--linen); }
.anchor { scroll-margin-top: calc(var(--header-h) + 16px); }

.section-head { margin-bottom: 2rem; max-width: 760px; }
.section-head .h2 { margin-bottom: .35em; }
.section-head__text { color: var(--ink-2); margin: 0; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--split { max-width: none; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) {
	.section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 3rem; }
	.section-head--split .section-head__text { max-width: 420px; }
}

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 641px) {
	.grid { gap: 1.5rem; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.grid--stats { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 641px) { .grid--stats { gap: 1.25rem; } }
@media (min-width: 1025px) { .grid--stats.grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--stats.grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--stats.grid--3 > :first-child { grid-column: 1 / -1; }
@media (min-width: 1025px) { .grid--stats.grid--3 > :first-child { grid-column: auto; } }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--form { grid-template-columns: .85fr 1.15fr; align-items: start; } }

.stack { display: grid; gap: 1.25rem; align-content: start; }

/* ---------- Кнопки ---------- */
.btn { --bg: var(--surface); --fg: var(--ink); --bd: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border: 1.5px solid var(--bd); border-radius: var(--r-lg); background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { --bg: var(--primary); --fg: #fff; box-shadow: 0 6px 16px -6px rgba(var(--primary-rgb), .55); }
.btn--primary:hover { --bg: var(--primary-hover); }
.btn--navy { --bg: var(--navy); --fg: #fff; }
.btn--navy:hover { --bg: var(--navy-hover); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: rgba(var(--navy-rgb), .22); }
.btn--ghost:hover { --bg: var(--linen-2); }
.btn--give { --bg: var(--give-bg); --fg: var(--give-fg); }
.btn--give:hover { filter: brightness(.95); }
.btn--soft { --bg: var(--navy-soft); --fg: var(--navy); }
.btn--soft:hover { --bg: var(--navy-soft-2); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { --bg: var(--linen); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, .1); }
.btn--text { --bg: transparent; --fg: var(--primary); padding-left: 0; padding-right: 0; min-height: 40px; }
.btn--text:hover { --fg: var(--primary-hover); }
.btn--text .icon { transition: transform .2s; }
.btn--text:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .875rem; border-radius: var(--r); }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 480px) { .hero .btn-row .btn { width: 100%; } }

.link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.link .icon { width: 1em; height: 1em; }

/* ---------- Бейджі та плитки іконок ---------- */
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; background: var(--linen-2); color: var(--ink-2); text-decoration: none; }
.badge .icon { width: 1em; height: 1em; }
.badge--sage { background: rgba(129, 178, 154, .18); color: var(--sage-ink); }
.badge--primary { background: var(--primary-soft); color: var(--primary); }
.badge--navy { background: var(--navy-soft); color: var(--navy); }
.badge--solid { background: var(--primary); color: #fff; }
.badge--dark { background: rgba(28, 28, 24, .72); color: #fff; backdrop-filter: blur(6px); }
.badge--line { background: transparent; border: 1px solid var(--line); }
.badge--glass { background: rgba(255, 255, 255, .14); color: #fff; }
.dot, .pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pulse { background: #3f9b6f; box-shadow: 0 0 0 0 rgba(63, 155, 111, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(63, 155, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 155, 111, 0); } }

.icon-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--linen-2); color: var(--ink-2); flex: none; }
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--lg { width: 64px; height: 64px; border-radius: var(--r-lg); margin: 0 auto 1rem; }
.icon-tile--lg .icon { width: 30px; height: 30px; }
.icon-tile--primary { background: var(--primary-soft); color: var(--primary); }
.icon-tile--navy { background: var(--navy-soft); color: var(--navy); }
.icon-tile--sage { background: var(--sage-soft); color: var(--sage); }
.icon-tile--sand { background: var(--linen-2); color: #7b6553; }
.icon-tile--solid-primary { background: var(--primary); color: #fff; }
.icon-tile--solid-navy { background: var(--navy); color: #fff; }
.icon-tile--solid-sage { background: var(--sage); color: #fff; }

/* ---------- Картки ---------- */
.card { background: var(--surface); border: 1px solid rgba(var(--navy-rgb), .08); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.card--pad { padding: 1.5rem; }
@media (min-width: 641px) { .card--pad { padding: 2rem; } }
.card--linen { background: var(--linen); box-shadow: none; }
.card--lift { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(var(--accent-rgb), .25); }
.card-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.card-head .eyebrow { margin-bottom: .2rem; }
.card-head .h4 { margin: 0; }

/* ---------- Медіа та заглушки ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--linen-2); aspect-ratio: 3 / 2; }
.media > img, .media > .placeholder { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.placeholder { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, var(--primary-soft) 0%, transparent 55%), radial-gradient(90% 90% at 90% 100%, var(--sage-soft) 0%, transparent 60%), linear-gradient(135deg, #f6efe4, #efe6d8); }
.placeholder--il { display: block; background: var(--linen); }
.media > .placeholder--il { position: absolute; inset: 0; }
.feature > *, .post-row > *, .project-feature__grid > * { min-width: 0; }
.il { display: block; width: 100%; height: 100%; }
.il .f-bg0 { fill: var(--linen); } .il .f-bg2 { fill: var(--linen-2); } .il .f-fl { fill: var(--linen-3); } .il .f-ps { fill: var(--primary-soft); }
.il .f-p { fill: var(--primary); } .il .f-pd { fill: var(--navy); } .il .f-n2 { fill: var(--navy-2); } .il .f-a { fill: var(--accent); } .il .f-s { fill: var(--il-green, var(--sage)); }
.il .f-w { fill: #fff; } .il .f-gl { fill: #d6e7f4; } .il .f-wd { fill: #c99c70; } .il .f-bx { fill: #dcb588; } .il .f-bx2 { fill: #c59766; }
.il .f-sk { fill: #f2c6a1; } .il .f-sk2 { fill: #c98d66; } .il .f-hr { fill: #3b2b24; } .il .f-hr2 { fill: #ddd7cf; } .il .f-hr3 { fill: #7c4f33; } .il .f-hr4 { fill: #d9a54e; }
.il .f-ink { fill: #1d2333; } .il .f-avatar { fill: #16181d; } .il .f-blush { fill: #ee9f86; opacity: .5; } .il .f-ua1 { fill: #2c5fc9; } .il .f-ua2 { fill: #f5c518; }
.il .s-arm { fill: none; stroke-width: 17; stroke-linecap: round; } .il .s-arm2 { fill: none; stroke-width: 46; stroke-linecap: round; }
.il .s-p { stroke: var(--primary); } .il .s-pd { stroke: var(--navy); } .il .s-n2 { stroke: var(--navy-2); } .il .s-s { stroke: var(--sage); } .il .s-a { stroke: var(--accent); }
.il .s-a2 { stroke: rgba(0, 0, 0, .12); } .il .s-w { stroke: #fff; } .il .s-ink { stroke: #1d2333; } .il .s-ln { stroke: rgba(var(--navy-rgb), .2); } .il .s-sk { stroke: #f2c6a1; }
.placeholder__mark { width: 30%; max-width: 110px; opacity: .22; filter: grayscale(.3); }
.media__badge { position: absolute; left: 1rem; top: 1rem; }
.media__date { position: absolute; left: .85rem; top: .85rem; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .75rem; font-weight: 700; padding: .3rem .65rem; border-radius: var(--r-sm); }

/* ---------- Верхня смуга і шапка ---------- */
.topbar { background: var(--linen); border-bottom: 1px solid var(--line); font-size: .8125rem; }
.topbar__in { display: flex; align-items: center; gap: 1rem; min-height: 38px; }
.topbar__phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); text-decoration: none; }
.topbar__phone .icon { width: 15px; height: 15px; color: var(--primary); }
.topbar__phone strong { color: var(--primary); }
.topbar__status { display: none; margin-left: auto; align-items: center; gap: .5rem; color: var(--sage-ink); font-weight: 600; }
.lang { display: flex; gap: .5rem; list-style: none; margin-left: auto; font-weight: 700; text-transform: uppercase; }
.topbar__status + .lang { margin-left: 1rem; }
.lang a { color: var(--muted); text-decoration: none; }
.lang .current-lang a { color: var(--primary); }
@media (max-width: 420px) { .topbar__label { display: none; } }
@media (min-width: 900px) { .topbar__status { display: inline-flex; } }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* Розмиття фону — на псевдоелементі: інакше backdrop-filter «замикає» мобільне меню (position: fixed) всередині шапки. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(var(--bg-rgb), .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 18px -12px rgba(var(--navy-rgb), .25); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo { display: block; flex: none; margin-right: auto; }
.logo img { height: 34px; width: auto; }
@media (min-width: 1025px) { .logo img { height: 40px; } }
.custom-logo-link { margin-right: auto; }
.custom-logo { max-height: 44px; width: auto; }
.site-header__actions { display: none; gap: .6rem; }
@media (min-width: 1100px) { .site-header__actions { display: flex; } }

.burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--navy); }
.burger .icon { width: 22px; height: 22px; }
.burger__close, .nav-open .burger__open { display: none; }
.nav-open .burger__close { display: block; }

.nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); box-shadow: inset 0 8px 16px -14px rgba(var(--navy-rgb), .4); z-index: 49; background: var(--bg); padding: 1.25rem var(--gutter) 2rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.nav-open .nav { opacity: 1; transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.nav-open .dock { display: none; }
.nav__list { list-style: none; display: grid; gap: .25rem; }
.nav__list a { display: block; padding: .85rem 1rem; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.nav__list a:hover { background: var(--linen-2); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current-menu-ancestor > a { background: var(--linen-2); color: var(--primary); }
.nav__list .sub-menu { list-style: none; padding-left: 1rem; }
.nav__mobile-extra { display: grid; gap: .75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem; font-weight: 700; color: var(--navy); text-decoration: none; }

@media (min-width: 1100px) {
	.burger { display: none; }
	.nav { position: static; inset: auto; padding: 0; background: none; border-top: 0; box-shadow: none; opacity: 1; transform: none; visibility: visible; overflow: visible; margin: 0 auto; }
	.nav__list { display: flex; gap: .15rem; }
	.nav__list a { padding: .55rem .8rem; font-size: .9rem; }
	.nav__list .menu-item-has-children { position: relative; }
	.nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s; }
	.nav__list .menu-item-has-children:hover > .sub-menu, .nav__list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; }
	.nav__mobile-extra { display: none; }
	.logo { margin-right: 0; }
	.custom-logo-link { margin-right: 0; }
}

/* ---------- Нижня док-панель (мобільні) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(var(--bg-rgb), .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(var(--navy-rgb), .25); }
.dock__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: var(--r-lg); font-weight: 700; font-size: .9rem; text-decoration: none; color: #fff; }
.dock__btn .icon { width: 19px; height: 19px; }
.dock__btn--help { background: var(--primary); }
.dock__btn--give { background: var(--give-bg); color: var(--give-fg); }
.dock__btn--give:hover { color: var(--give-fg); }
.dock__btn:hover { color: #fff; filter: brightness(.95); }
@media (max-width: 1099px) { :root { --dock-h: 72px; } }
@media (min-width: 1100px) { .dock { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 2rem 0 var(--section); background: radial-gradient(60% 60% at 100% 0%, rgba(var(--accent-rgb), .08), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(129, 178, 154, .1), transparent 70%); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero { padding-top: 3.5rem; } .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } .hero__grid--even { grid-template-columns: 1fr 1fr; } }
.hero__text .badge { margin-bottom: 1.25rem; }
.hero__media { position: relative; }
.hero__media .media { box-shadow: var(--shadow-lg); }
@media (max-width: 899px) { .hero__media .media--tall { aspect-ratio: 4 / 3; } }
.float-card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.float-card strong { display: block; font-size: .9rem; }
.float-card span { display: block; font-size: .8rem; color: var(--muted); }
@media (max-width: 899px) { .float-card { position: relative; left: auto; right: auto; bottom: auto; margin: -1.75rem .75rem 0; } }
@media (min-width: 900px) { .float-card { left: -1.5rem; right: auto; max-width: 320px; bottom: 2rem; } }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust .icon { width: 17px; height: 17px; color: var(--sage); }

/* ---------- Лічильники ---------- */
.stat { padding: 1.25rem; background: var(--linen); border-color: transparent; box-shadow: none; }
@media (min-width: 641px) { .stat { padding: 1.75rem; } }
.stat__value { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.1; margin: 1.1rem 0 .4rem; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat--1 .stat__value { color: var(--sage); }
.stat--2 .stat__value { color: var(--navy); }
.stat--3 .stat__value { color: var(--ink); }
.stat__label { font-weight: 600; font-size: .9rem; color: var(--ink-2); margin: 0; }
.stat .icon-tile { background: var(--surface); color: var(--primary); }

/* ---------- Кроки ---------- */
.steps { list-style: none; margin-bottom: 2.5rem; counter-reset: none; }
.step { padding: 1.5rem; }
@media (min-width: 641px) { .step { padding: 2rem; } }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); font-weight: 800; flex: none; }
.step:nth-child(2) .step__num { background: var(--navy-soft); color: var(--navy); }
.step:nth-child(3) .step__num { background: var(--sage-soft); color: var(--sage); }
.step__icon { width: 26px; height: 26px; color: var(--line-2); }
.step p { color: var(--ink-2); margin: 0; }

/* ---------- Флагманський проєкт (головна) ---------- */
.feature { display: grid; overflow: hidden; background: var(--linen-2); border-color: transparent; }
.feature__media { border-radius: 0; aspect-ratio: 16 / 10; }
.feature__body { padding: 1.5rem; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 1.5rem; gap: 2.5rem; } .feature__media { border-radius: var(--r-lg); height: 100%; min-height: 340px; aspect-ratio: auto; } .feature__body { padding: 1rem 1.5rem 1rem 0; } }

.progress-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.15rem; margin-top: 1.25rem; }
.progress-box--sm { background: var(--linen); border: 0; padding: .85rem 1rem; margin: 1rem 0; }
.progress-box__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-weight: 600; font-size: .9rem; }
.progress-box__row strong { color: var(--primary); font-size: 1.15rem; }
.progress-box__row--sm { font-size: .8rem; color: var(--muted); font-weight: 600; }
.progress-box__row--sm strong { font-size: .9rem; }
.progress { height: 10px; border-radius: 99px; background: var(--linen-3); overflow: hidden; margin: .6rem 0; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--progress); transition: width 1s ease; }
.progress--thin { height: 6px; }

/* ---------- Картки новин ---------- */
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.post-card__media { border-radius: 0; aspect-ratio: 16 / 10; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.35rem 1.5rem; }
.post-card__body .eyebrow { font-size: .7rem; margin-bottom: .5rem; }
.post-card__title { margin-bottom: .5rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { color: var(--muted); font-size: .9rem; }
.post-card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .75rem; color: var(--primary); font-weight: 700; font-size: .875rem; }
.post-card__more .icon { width: 1em; height: 1em; transition: transform .2s; }
.card--lift:hover .post-card__more .icon { transform: translateX(3px); }

.news-list { display: grid; gap: 1.25rem; }
.post-row { position: relative; display: grid; overflow: hidden; }
.post-row__media { border-radius: 0; aspect-ratio: 16 / 9; }
.post-row__body { padding: 1.35rem 1.35rem 1.6rem; }
.post-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.post-row__title a { color: var(--ink); text-decoration: none; }
.post-row__title a::after { content: ""; position: absolute; inset: 0; }
.post-row p { color: var(--ink-2); }
@media (min-width: 760px) { .post-row { grid-template-columns: minmax(260px, 38%) 1fr; } .post-row__media { aspect-ratio: auto; min-height: 240px; height: 100%; } .post-row__body { padding: 2rem; align-self: center; } }

/* ---------- Банер / смуги ---------- */
.banner { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--linen-2); border-radius: var(--r-xl); }
.banner__text .h4 { margin-bottom: .2rem; }
.banner__text p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (min-width: 760px) { .banner { flex-direction: row; align-items: center; padding: 1.5rem 2rem; gap: 1.5rem; } .banner__text { flex: 1; } }

.quote-band { position: relative; padding: 2rem 1.5rem; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--band-end) 100%); color: #fff; overflow: hidden; }
.quote-band__icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 1rem; }
.quote-band__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); line-height: 1.45; max-width: 800px; }
@media (min-width: 900px) { .quote-band { padding: 3rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; } .quote-band__icon { margin: 0; align-self: start; } .quote-band .btn-row { margin: 0; flex-direction: column; } }

.cta-band { display: grid; gap: 1.5rem; padding: 2rem 1.5rem; border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.cta-band .h2 { color: #fff; margin: 1rem 0 .5rem; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; padding: 3rem; align-items: center; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Внутрішні сторінки ---------- */
.page-head { padding: 1.5rem 0 2rem; }
@media (min-width: 900px) { .page-head { padding: 2rem 0 3rem; } }
.page-head .badge { margin-bottom: 1rem; }
.page-head .h1 { margin-bottom: .4em; }
.page-head__text { max-width: 760px; color: var(--ink-2); font-size: 1.05rem; }
.page-head__grid--aside { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .page-head__grid--aside { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; } }
.page-head--article .h1 { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .8rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-intro { margin: 0 0 2rem; }

.file-chip { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; text-decoration: none; color: var(--ink); }
.file-chip small { display: block; color: var(--muted); font-size: .78rem; }
.file-chip > .icon { color: var(--muted); }

.admin-hint { padding: .85rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--r); background: #fffaf3; color: var(--ink-2); font-size: .85rem; margin-top: 1rem; }

/* ---------- Про нас ---------- */
.media--quote { margin: 0; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.media--quote figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.5rem 1.5rem; background: linear-gradient(transparent, rgba(20, 20, 18, .78)); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.media--quote figcaption .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: .5rem; }
.prose--lead > p:first-child, .prose .lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.who { padding: 1.5rem; }
.who .icon-tile { margin-bottom: 1.25rem; }
.who .eyebrow { margin-bottom: .35rem; }
.who p:last-child { color: var(--muted); font-size: .9rem; }
.value { padding: 1.75rem; }
.value .icon-tile { margin-bottom: 1.25rem; }
.value p { color: var(--ink-2); }
.team { overflow: hidden; }
.team__body { padding: 1.15rem 1.25rem 1.4rem; }
.team__body .h4 { margin-bottom: .1rem; }
.team__role { color: var(--primary); font-weight: 700; font-size: .85rem; margin-bottom: .6rem; }
.team__body p:last-child { font-size: .875rem; color: var(--muted); }
.docs { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
.doc { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; flex-wrap: wrap; }
.doc__body { flex: 1; min-width: 180px; }
.doc__title { font-size: 1rem; margin: 0 0 .2rem; }
.doc__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted); margin: 0; }
.doc__soon { font-size: .8rem; font-weight: 700; color: var(--muted); padding: .4rem .8rem; background: var(--linen-2); border-radius: 99px; }

/* ---------- Форми ---------- */
.form { display: grid; gap: 1.25rem; }
.form-step { padding: 1.35rem; border-radius: var(--r-xl); margin: 0; min-width: 0; display: grid; gap: 1.1rem; }
@media (min-width: 641px) { .form-step { padding: 2rem; } }
fieldset.form-step { border: 1px solid rgba(var(--navy-rgb), .08); }
.form-step__head { display: flex; gap: .85rem; align-items: center; padding: 0; margin-bottom: .25rem; float: left; width: 100%; }
.form-step__head + * { clear: both; }
.form-step__head strong { display: block; font-size: 1.1rem; }
.form-step__head small { display: block; color: var(--muted); font-size: .85rem; font-weight: 500; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field > .label { font-weight: 700; font-size: .875rem; }
.field label small { display: block; font-weight: 500; color: var(--muted); }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 641px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field--inline { padding: 1rem 1.1rem; background: var(--linen); border-radius: var(--r-lg); }
@media (min-width: 641px) { .field--inline { grid-template-columns: 1fr auto; align-items: center; } }
.req-mark { color: var(--primary); }
.input { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1.5px solid transparent; border-radius: var(--r); background: var(--linen); color: var(--ink); font-size: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
textarea.input { min-height: 130px; resize: vertical; }
.input::placeholder { color: #a39488; }
.input:hover { background: var(--linen-2); }
.input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 2.75rem; }
.select-wrap { position: relative; }
.select-wrap .input { padding-right: 2.75rem; }
.select-wrap > .icon { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.field__err { display: none; color: #9a3412; font-size: .82rem; font-weight: 600; margin: 0; }
.is-invalid .input, .input.is-invalid { border-color: #e0a36f; background: #fff8f1; }
.is-invalid > .field__err, .is-invalid + .field__err, [data-group-required].is-invalid > .field__err { display: block; }
.is-valid .input { border-color: rgba(129, 178, 154, .7); }

.stepper { display: inline-flex; align-items: center; gap: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .3rem; justify-self: start; }
.stepper button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--r-sm); background: var(--linen); color: var(--navy); }
.stepper button:hover { background: var(--linen-3); }
.stepper .input { width: 64px; min-height: 42px; padding: .4rem; text-align: center; font-weight: 800; font-size: 1.1rem; background: transparent; -moz-appearance: textfield; }
.stepper .input::-webkit-outer-spin-button, .stepper .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.choice-grid { display: grid; gap: .75rem; }
@media (min-width: 641px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--linen); border: 1.5px solid transparent; border-radius: var(--r-lg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { background: var(--linen-2); }
.choice input, .check input, .amount input, .method input, .segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box, .check__box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--line-2); border-radius: 7px; background: var(--surface); color: transparent; transition: all .15s; }
.choice__box .icon, .check__box .icon { width: 15px; height: 15px; stroke-width: 3; }
.choice__text strong { display: flex; align-items: center; gap: .45rem; font-size: .95rem; }
.choice__text strong .icon { width: 18px; height: 18px; color: var(--primary); }
.choice__text small { display: block; margin-top: .2rem; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice input:checked + .choice__box, .check input:checked + .check__box { background: var(--primary); border-color: var(--primary); color: #fff; }
.choice input:focus-visible + .choice__box, .check input:focus-visible + .check__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice--compact { padding: .8rem 1rem; align-items: center; }
.choice-grid--compact { margin-bottom: .25rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check.is-invalid .check__box { border-color: #e0a36f; }
.form-note { display: flex; justify-content: center; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); text-align: center; margin: 0; }
.form-note .icon { width: 14px; height: 14px; }
.cf-turnstile { min-height: 65px; }

.notice { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r-lg); margin-bottom: 1.25rem; font-weight: 600; }
.notice > .icon { width: 22px; height: 22px; flex: none; margin-top: .1rem; }
.notice p { margin: 0 0 .25rem; }
.notice--ok { background: var(--sage-soft); color: var(--sage-ink); }
.notice--err { background: #fff3ea; color: #8a3b0a; border: 1px solid #f5cfb2; }

.alert-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; margin-bottom: 2rem; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--alert-1), var(--alert-2)); border: 1px solid var(--alert-border); color: var(--alert-ink); }
.alert-card .h4 { color: var(--alert-ink); margin-bottom: .4rem; }
.alert-card p { font-size: .95rem; line-height: 1.6; margin-bottom: .5em; }
@media (min-width: 641px) { .alert-card { flex-direction: row; padding: 1.75rem 2rem; gap: 1.25rem; } }

.layout-aside { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1025px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; } .aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside { display: grid; gap: 1.25rem; }
.timeline { list-style: none; counter-reset: tl; display: grid; gap: 1.1rem; }
.timeline li { counter-increment: tl; position: relative; padding-left: 2.6rem; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--linen-2); font-size: .8rem; font-weight: 800; color: var(--ink-2); }
.timeline li:last-child::before { background: var(--sage-soft); color: var(--sage); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: -14px; width: 2px; background: var(--linen-2); }
.timeline strong { display: block; font-size: .9rem; }
.timeline span { display: block; font-size: .82rem; color: var(--muted); }

/* ---------- Донати ---------- */
.donate-hero { padding: 1.5rem 0 2.5rem; }
@media (min-width: 900px) { .donate-hero { padding: 2rem 0 3.5rem; } }
.donate-hero .badge { margin-bottom: 1rem; }
.donate-hero .media { box-shadow: var(--shadow-lg); }
.donate-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1025px) { .donate-grid { grid-template-columns: 1.15fr .85fr; gap: 2rem; } }
.donate { display: grid; gap: 1rem; box-shadow: var(--shadow); }
.donate__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .5rem; }
.donate__head .h3 { margin-bottom: .2rem; }
.segmented { display: inline-flex; padding: .25rem; background: var(--linen-2); border-radius: var(--r); }
.segmented label { position: relative; }
.segmented span { display: block; padding: .5rem .9rem; border-radius: var(--r-sm); font-weight: 700; font-size: .85rem; color: var(--muted); cursor: pointer; }
.segmented input:checked + span { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (min-width: 641px) { .amounts { grid-template-columns: repeat(6, 1fr); } }
.amount { position: relative; }
.amount span { display: grid; place-items: center; min-height: 52px; padding: .5rem; border-radius: var(--r); background: var(--linen); font-weight: 800; font-size: 1.02rem; cursor: pointer; text-align: center; transition: background-color .15s, color .15s; }
.amount--other span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.amount span:hover { background: var(--linen-3); }
.amount input:checked + span { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -6px rgba(var(--primary-rgb), .6); }
.amount input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.impact { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: var(--navy-soft); }
.impact .label { margin-bottom: .15rem; color: var(--navy-2); }
.impact__text { font-weight: 700; color: var(--navy); margin: 0; }
.methods { display: grid; gap: .6rem; }
@media (min-width: 641px) { .methods { grid-template-columns: 1fr 1fr; } }
.method { position: relative; }
.method span { display: flex; align-items: center; gap: .55rem; min-height: 52px; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: .875rem; cursor: pointer; }
.method span .icon { color: var(--muted); }
.method input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.method input:checked + span .icon { color: var(--primary); }
.method input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.donate-side { display: grid; gap: 1.25rem; }
.requisites__head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.requisites__head .h4 { margin: 0; }
.req-list { margin: 0; display: grid; gap: .6rem; }
.req { padding: .75rem .9rem; border-radius: var(--r); background: var(--linen); }
.req dt { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.req dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.req__val { font-weight: 700; font-size: .9rem; word-break: break-all; font-variant-numeric: tabular-nums; }
.req--accent { background: var(--primary-soft); }
.req--accent .req__val { color: var(--primary); word-break: normal; }
.copy { display: inline-flex; align-items: center; gap: .35rem; flex: none; min-height: 36px; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--primary); font-size: .78rem; font-weight: 700; }
.copy .icon { width: 14px; height: 14px; }
.copy:hover { border-color: var(--primary); }
.copy.is-done { color: var(--sage); border-color: var(--sage); }
@media (max-width: 400px) { .copy span { display: none; } }
.mini-cta { display: flex; gap: 1rem; align-items: flex-start; }
.mini-cta .h4 { margin-bottom: .3rem; }
.mini-cta .icon-tile { background: var(--surface); }

.ticks { list-style: none; display: grid; gap: .8rem; margin: 1.5rem 0; }
.ticks li { display: flex; gap: .7rem; align-items: center; font-weight: 600; color: var(--ink-2); }
.ticks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); stroke-width: 3; }
#volunteer .badge { margin-bottom: 1rem; }

.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 1.25rem); z-index: 100; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: var(--r); background: var(--ink); color: #fff; font-size: .875rem; font-weight: 700; box-shadow: var(--shadow-lg); }

/* ---------- Звітність ---------- */
.transparency { padding: 1.35rem; border-radius: var(--r-xl); background: var(--linen); }
@media (min-width: 641px) { .transparency { padding: 2.5rem; } }
.transparency__head { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .transparency__head { grid-template-columns: 1fr auto; align-items: end; } }
.total { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.25rem; }
.total .label { margin: 0; }
.total__value { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.transparency__body { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .transparency__body { grid-template-columns: 360px 1fr; align-items: center; gap: 2rem; } }
.donut { position: relative; padding: 2rem; display: grid; place-items: center; }
.donut svg { width: 100%; max-width: 260px; transform: rotate(0deg); }
.donut circle { transition: stroke-dasharray .6s; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center strong { font-family: var(--serif); font-size: 1.35rem; }
.donut__center span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tone-primary { stroke: var(--accent); } .tone-navy { stroke: var(--navy-2); } .tone-sage { stroke: var(--sage); } .tone-sand { stroke: var(--sand); }
.tone-bg-primary { background: var(--accent) !important; } .tone-bg-navy { background: var(--navy-2) !important; } .tone-bg-sage { background: var(--sage) !important; } .tone-bg-sand { background: var(--sand) !important; }
.spend { list-style: none; display: grid; gap: .75rem; }
.spend__item { padding: 1rem 1.15rem; border-radius: var(--r-lg); }
.spend__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .9rem; }
.spend__name { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.spend__num { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.spend__num strong { color: var(--ink); font-size: 1rem; margin-right: .35rem; }
.spend .progress { margin: .55rem 0 .4rem; }
.spend p { margin: 0; }
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.tabs { display: flex; gap: .25rem; padding: .3rem; background: var(--linen-2); border-radius: var(--r); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs a { flex: none; padding: .5rem .95rem; border-radius: var(--r-sm); font-weight: 700; font-size: .85rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.tabs a[aria-current] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.mini { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--linen); border: 0; box-shadow: none; }

/* ---------- Проєкти ---------- */
.project-feature { padding: 1.35rem; box-shadow: var(--shadow); }
@media (min-width: 641px) { .project-feature { padding: 2.5rem; } }
.project-feature__top { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.project-feature__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .project-feature__grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.project-feature__media { box-shadow: var(--shadow-sm); align-self: start; }
.highlights { list-style: none; display: grid; gap: .65rem; margin-bottom: 1.25rem; }
.highlights li { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; background: var(--linen); border-radius: var(--r); font-weight: 600; font-size: .92rem; }
.highlights .icon { color: var(--sage); margin-top: .1em; }
.need { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r); background: var(--primary-soft); color: var(--alert-ink); font-size: .9rem; }
.need .icon { color: var(--primary); margin-top: .15em; }
.need p { margin: 0; }
.budget { margin-top: 2rem; padding: 1.25rem; border-radius: var(--r-lg); background: var(--linen); }
@media (min-width: 641px) { .budget { padding: 1.5rem 1.75rem; } }
.budget__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.budget .label { margin-bottom: .2rem; }
.budget__value { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.budget__value strong { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); color: var(--primary); }
.budget__pct { margin: 0; text-align: right; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--sage); line-height: 1; }
.budget__pct small { display: block; font-family: var(--font); font-size: .78rem; font-weight: 600; color: var(--muted); margin-top: .35rem; }

/* ---------- Контакти ---------- */
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 1.75rem; padding: 0 var(--gutter); }
.chips a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: var(--r); background: var(--linen-2); color: var(--ink-2); font-weight: 700; font-size: .85rem; text-decoration: none; }
.chips a .icon { width: 16px; height: 16px; }
.chips a.is-accent { background: var(--accent); color: var(--accent-ink); }
.contacts-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1025px) { .contacts-grid { grid-template-columns: 1.15fr .85fr; gap: 1.75rem; align-items: start; } }
.big-phone { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); font-weight: 700; color: var(--primary); text-decoration: none; margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.info-tile { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r); background: var(--linen); }
.info-tile .icon { color: var(--muted); margin-top: .15em; }
.info-tile strong { display: block; font-size: .85rem; }
.info-tile span { font-size: .85rem; color: var(--ink-2); }
.warn { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; margin-top: 1rem; border-radius: var(--r); background: var(--error-soft); border: 1px solid #f7c9c3; color: #7d1a12; font-size: .9rem; font-weight: 600; }
.warn .icon { color: var(--error); margin-top: .15em; }
.warn p { margin: 0; }
.email-grid { display: grid; gap: .75rem; }
@media (min-width: 641px) { .email-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.email-tile { display: block; padding: 1rem; border-radius: var(--r); background: var(--linen); text-decoration: none; }
.email-tile small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .3rem; }
.email-tile span { font-weight: 700; color: var(--primary); word-break: break-all; font-size: .92rem; }
.social-grid { display: grid; gap: .75rem; margin-top: 1.25rem; }
@media (min-width: 641px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }
.social-tile { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; border-radius: var(--r-lg); background: var(--linen); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.social-tile:hover { background: var(--linen-2); color: var(--ink); }
.social-tile .icon-tile { margin-bottom: .4rem; width: 40px; height: 40px; border-radius: 50%; }
.social-tile--telegram .icon-tile { background: #dbeefa; color: #1b78b8; }
.social-tile--instagram .icon-tile { background: #fde3dc; color: #c13b5a; }
.social-tile--facebook .icon-tile { background: #e1e9f7; color: #2d5ba8; }
.social-tile small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.social-tile .link { margin-top: auto; padding-top: .4rem; font-size: .85rem; color: var(--primary); }
.map-card { overflow: hidden; }
.map-card__head { padding: 1.25rem 1.5rem .75rem; }
.map-card__head .h4 { margin: 0; }
.map { aspect-ratio: 4 / 3; background: var(--linen-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-card__foot { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.5rem; font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; }
.map-card__foot .icon { color: var(--primary); }
.map-card__foot .icon:last-child { margin-left: auto; color: var(--muted); }

/* ---------- Текстовий вміст ---------- */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.8em; }
.prose h2 { font-family: var(--serif); font-size: 1.65rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r-lg); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--linen); border-radius: 0 var(--r) var(--r) 0; font-family: var(--serif); font-style: italic; color: var(--ink); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.prose .wp-block-gallery { gap: .75rem; }
.prose .wp-block-gallery img { border-radius: var(--r); }
.prose .wp-block-button__link { background: var(--primary); color: #fff; border-radius: var(--r-lg); font-weight: 700; padding: .8rem 1.4rem; text-decoration: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.page-head__text.prose > p:first-child { margin-top: 0; }
.single__media { margin-bottom: 2.5rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 var(--section); font-weight: 700; font-size: .9rem; }
.post-nav a { text-decoration: none; }
.alignwide { max-width: none; }
.wp-caption, .gallery-caption { font-size: .85rem; color: var(--muted); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.sticky, .bypostauthor { display: block; }
.search-form { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.search-form .search-field { min-height: 48px; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); }
.search-form .search-submit { min-height: 48px; padding: .6rem 1.2rem; border: 0; border-radius: var(--r); background: var(--primary); color: #fff; font-weight: 700; }
.notfound__mark { margin: 0 auto 1.5rem; opacity: .9; }

/* ---------- Футер ---------- */
.site-footer { background: var(--linen); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; font-size: .9rem; }
.section--linen:last-child, .section--tight:last-child { margin-bottom: 0; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } .site-footer__brand { grid-column: auto; } }
.site-footer__brand .logo img { height: 52px; margin-bottom: 1rem; }
.site-footer__brand p { color: var(--muted); max-width: 360px; }
.site-footer__title { font-family: var(--font); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.socials { list-style: none; display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--navy); }
.socials a:hover { color: var(--primary); border-color: var(--primary); }
.socials .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: grid; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.site-footer__contacts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__contacts li { display: inline-flex; align-items: center; gap: .4rem; }
.site-footer__contacts .icon { width: 15px; height: 15px; color: var(--primary); }
.site-footer__contacts a, .site-footer__copy a { color: var(--ink-2); text-decoration: none; }
.site-footer__copy { margin: 0; }
@media (min-width: 900px) { .site-footer__bottom { grid-template-columns: 1fr auto; align-items: center; } }

/* ==========================================================================
   Анімації. Вимикаються автоматично, якщо в системі ввімкнено «зменшити рух».
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	/* Поява блоків при прокрутці (клас додає JS, тож без JS усе видно одразу). */
	.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
	.reveal--left { transform: translateX(-26px); }
	.reveal--right { transform: translateX(26px); }
	.reveal--zoom { transform: scale(.96); }
	.reveal.is-in { opacity: 1; transform: none; }

	/* Перший екран. */
	.js .hero__text > *, .js .page-head .container > *, .js .donate-hero .container > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
	.js .hero__text > :nth-child(2), .js .page-head .container > :nth-child(2) { animation-delay: .08s; }
	.js .hero__text > :nth-child(3) { animation-delay: .16s; }
	.js .hero__text > :nth-child(4) { animation-delay: .24s; }
	.js .hero__text > :nth-child(5) { animation-delay: .32s; }
	.js .hero__media { animation: pop 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
	.js .hero__media .float-card { animation: rise .8s .7s cubic-bezier(.2, .7, .2, 1) both; }
	.display__accent { background: linear-gradient(transparent 64%, rgba(var(--accent-rgb), .32) 64%, rgba(var(--accent-rgb), .32) 92%, transparent 92%) no-repeat 0 0 / 0 100%; }
	.js .display__accent { animation: underline 1.2s .9s cubic-bezier(.2, .7, .2, 1) forwards; }

	/* Серце на кнопках «Підтримати» б'ється. */
	.btn .icon-heart, .dock__btn--give .icon-heart { animation: beat 2.8s ease-in-out infinite; transform-origin: center; }
	.btn:hover .icon-heart { animation-duration: 1s; }
	/* Блиск на головних кнопках при наведенні. */
	.btn--primary, .btn--give { position: relative; overflow: hidden; isolation: isolate; }
	.dock__btn { position: relative; }
	.btn--primary::after, .btn--give::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
	.btn--primary:hover::after, .btn--give:hover::after { transform: translateX(120%); }
	.btn:hover { transform: translateY(-1px); }
	.dock__btn--help::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .45); animation: ring 3.2s 2s ease-out infinite; }

	/* Іконки в плитках злегка підстрибують при наведенні на картку. */
	.card:hover .icon-tile .icon, .stat:hover .icon-tile .icon { animation: hop .6s ease; }

	/* Шкали прогресу заповнюються при появі. */
	.js .progress > span { transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
	.js .progress.is-pending > span { width: 0 !important; }
	.js .donut circle[stroke-dasharray] { transition: stroke-dasharray 1.4s cubic-bezier(.2, .7, .2, 1), stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1); }

	/* Живі ілюстрації. */
	.il .an-float, .il .an-drift, .il .an-sway, .il .an-swing, .il .an-drop, .il .an-pop, .il .an-ring, .il .an-wave, .il .an-beat, .il .an-bob, .il .an-curtain, .il .an-glow, .il .an-blink { transform-box: fill-box; transform-origin: center; }
	.il .an-float { animation: float 4.5s ease-in-out infinite; }
	.il .an-drift { animation: drift 14s ease-in-out infinite; }
	.il .an-sway { transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
	.il .an-curtain { transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
	.il .an-swing { transform-origin: 50% 0; animation: swing 4s ease-in-out infinite; }
	.il .an-ring { transform-origin: 50% 0; animation: ringbell 3.5s ease-in-out infinite; }
	.il .an-drop { animation: drop 3.2s cubic-bezier(.5, 0, .7, 1) infinite; }
	.il .an-pop { animation: popcheck 3.5s ease-in-out infinite; }
	.il .an-wave { animation: wave 1.8s ease-out infinite; transform-origin: 0 50%; }
	.il .an-beat { animation: beat 2.4s ease-in-out infinite; }
	.il .an-bob { animation: bob 1.6s ease-in-out infinite; }
	.il .an-glow { animation: glow 5s ease-in-out infinite; }
	.il .an-blink { animation: blink 1.6s steps(2) infinite; }
	.il .an-d2 { animation-delay: -1.5s; }
	.il .an-d3 { animation-delay: -3s; }
	/* Не витрачаємо батарею на ілюстрації, яких не видно. */
	.il.is-paused * { animation-play-state: paused !important; }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes underline { to { background-size: 100% 100%; } }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 10% { transform: scale(1.22); } 20% { transform: scale(.96); } 30% { transform: scale(1.14); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .45); } 40%, 100% { box-shadow: 0 0 0 12px rgba(var(--primary-rgb), 0); } }
@keyframes hop { 40% { transform: translateY(-4px) rotate(-6deg); } 70% { transform: translateY(1px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(34px); } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes ringbell { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20%, 30% { transform: rotate(14deg); } }
@keyframes drop { 0% { transform: translateY(-10px); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(170px) scale(.9); opacity: 1; } 85%, 100% { transform: translateY(190px) scale(.6); opacity: 0; } }
@keyframes popcheck { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.25); } 16% { transform: scale(.95); } 24% { transform: scale(1); } }
@keyframes wave { 0% { opacity: 0; transform: translateX(-6px) scale(.85); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(10px) scale(1.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.08); opacity: .65; } }
@keyframes blink { 50% { opacity: .35; } }

@media print {
	.topbar, .site-header, .dock, .site-footer, .btn-row { display: none !important; }
	body { background: #fff; padding: 0; }
}

/* ==========================================================================
   Кольорові схеми (Налаштувати → Вдома: кольори). За замовчуванням — «Логотип».
   ========================================================================== */
body.palette-logo {
	--bg: #f9f8f4; --bg-rgb: 249, 248, 244;
	--surface: #ffffff;
	--linen: #f1f0ea; --linen-2: #eae9e2; --linen-3: #dedcd3;
	--ink: #151b2e; --ink-2: #3b4458; --muted: #5d6476;
	--line: #e2e1da; --line-2: #c7cddb;
	--primary: #2c54b0; --primary-rgb: 44, 84, 176; --primary-hover: #1f3f8a;
	--accent: #f2b705; --accent-rgb: 242, 183, 5; --accent-ink: #1e2848;
	--primary-soft: #ebf0fb; --primary-tint: #d5e1f8;
	--navy: #1e2848; --navy-rgb: 30, 40, 72; --navy-hover: #131a31; --navy-2: #34457a; --navy-soft: #e8ebf4; --navy-soft-2: #d9deec;
	--sage: #2f7a55; --sage-ink: #22583e; --sage-soft: #e2f2e9; --sand: #9aa3b8;
	--band-end: #2c54b0;
	--alert-1: #fff6d6; --alert-2: #ffefbf; --alert-border: #f1d67c; --alert-ink: #4d3a00;
	--progress: linear-gradient(90deg, #f7c936, #f2b705);
	--give-bg: #f2b705; --give-fg: #1e2848;
	--display-accent: #2c54b0;
}
body.palette-logo .stat--0 .stat__value { color: var(--primary); }
body.palette-logo .tone-primary { stroke: #f2b705; }
body.palette-logo .tone-bg-primary { background: #f2b705 !important; }

body.palette-sage {
	--il-green: #5f8a4c;
	--bg: #f8f8f3; --bg-rgb: 248, 248, 243;
	--linen: #f0f1ea; --linen-2: #e8eae1; --linen-3: #dcdfd3;
	--ink: #1a1f1b; --ink-2: #3e4a42; --muted: #5f6a62;
	--line: #dfe2d8; --line-2: #c3cbbb;
	--primary: #2f6b4f; --primary-rgb: 47, 107, 79; --primary-hover: #22523c;
	--accent: #d99a2b; --accent-rgb: 217, 154, 43; --accent-ink: #1a1f1b;
	--primary-soft: #e6f1ea; --primary-tint: #cfe5d7;
	--navy: #23383f; --navy-rgb: 35, 56, 63; --navy-hover: #182a30; --navy-2: #46636a; --navy-soft: #e3eded; --navy-soft-2: #d2e1e2;
	--sage: #8a5a2b; --sage-ink: #6b4320; --sage-soft: #f5ead9; --sand: #a59c84;
	--band-end: #2f6b4f;
	--alert-1: #fbf0d9; --alert-2: #f7e6c2; --alert-border: #ebd09a; --alert-ink: #533b0d;
	--progress: linear-gradient(90deg, #e2ad4c, #d99a2b);
	--give-bg: #23383f; --give-fg: #ffffff;
	--display-accent: #2f6b4f;
}

/* Блок «Наша команда» на головній */
.team-home .grid--3 { grid-template-columns: 1fr; }
@media (min-width: 641px) { .team-home .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-home .team { display: grid; grid-template-columns: 112px 1fr; align-items: center; } .team-home .media--square { border-radius: var(--r-xl) 0 0 var(--r-xl); height: 100%; } .team-home .team__body p:last-child { display: none; } }
.team .media--square .il { transition: transform .5s ease; }
.team:hover .media--square .il, .team:hover .media--square img { transform: scale(1.04); }
.team .media--square img { transition: transform .5s ease; }
.section-head--split > .btn { align-self: flex-start; }
@media (max-width: 640px) { .team-home .media__badge { display: none; } }
