/* ==========================================================================
   Тепло сердец — main stylesheet. Mobile first: base styles target 360px.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-cyrillic-wght-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-cyrillic-ext-wght-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-display: swap;
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0c1230;
	--ink-soft: #151c44;
	--ink-line: rgba(255, 255, 255, 0.12);
	--night-text: #f6efe6;
	--night-muted: #b8bfd9;

	--paper: #fcf8f1;
	--sand: #f5ecdf;
	--card: #ffffff;
	--line: #eadfce;
	--text: #1a2040;
	--muted: #565c78;

	--glow: #ff8a5c;
	--glow-soft: #ffc79a;
	--glow-text: #b03f16;
	--ok: #1c7450;
	--ok-bg: #e2f3e9;
	--wait: #7a5200;
	--wait-bg: #fbecc8;

	--font-display: "Montserrat", "Onest", system-ui, sans-serif;
	--font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 24px;
	--radius-sm: 14px;
	--gutter: 16px;
	--shadow: 0 1px 2px rgba(12, 18, 48, 0.04), 0 12px 32px -16px rgba(12, 18, 48, 0.18);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
}

img,
svg {
	max-width: 100%;
}

.icon {
	flex: none;
	vertical-align: middle;
}

:focus-visible {
	outline: 3px solid var(--glow);
	outline-offset: 3px;
	border-radius: 6px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--glow);
	color: var(--ink);
	border-radius: 10px;
	font-weight: 700;
}
.skip-link:focus {
	top: 8px;
}

.wrap {
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow {
	max-width: 720px;
}

.demo-ribbon {
	padding: 6px var(--gutter);
	background: var(--wait-bg);
	color: var(--wait);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:active {
	transform: translateY(1px);
}
.btn--primary {
	background: var(--glow);
	color: var(--ink);
	box-shadow: 0 8px 28px -8px rgba(255, 138, 92, 0.7);
}
.btn--primary:hover {
	background: #ff9b72;
}
.btn--ghost {
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--night-text);
}
.btn--ghost:hover {
	border-color: var(--night-text);
}
.btn--dark {
	background: var(--ink);
	color: var(--night-text);
}
.btn--dark:hover {
	background: var(--ink-soft);
}
.btn--small {
	min-height: 44px;
	padding: 8px 20px;
}
.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--glow-text);
	font-weight: 700;
	text-decoration: none;
}
.link-arrow:hover {
	text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(12, 18, 48, 0.92);
	color: var(--night-text);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--ink-line);
}
.site-header__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.brand__mark {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--glow);
	box-shadow: 0 0 0 5px rgba(255, 138, 92, 0.22), 0 0 22px 4px rgba(255, 138, 92, 0.55);
}
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -10px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.nav-toggle {
	display: inline-flex;
}
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: inline-flex;
}
.site-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 8px 0 20px;
}
.site-nav {
	display: none;
}
.site-nav.is-open {
	display: flex;
}
.site-nav__list a {
	display: flex;
	align-items: center;
	min-height: 48px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--ink-line);
}
.lang-switch {
	display: flex;
	gap: 8px;
	padding: 8px 0;
}
.lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--ink-line);
	border-radius: 999px;
	color: var(--night-muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.lang-switch a[aria-current="true"] {
	border-color: var(--glow);
	color: var(--night-text);
}

/* ---------- Sections ---------- */
.section {
	padding-block: 56px;
}
.section--tight {
	padding-block: 32px;
}
.section--light {
	background: var(--paper);
}
.section--sand {
	background: var(--sand);
}
.section--night {
	background: var(--ink);
	color: var(--night-text);
}
.section--glow {
	background:
		radial-gradient(60% 80% at 85% 110%, rgba(255, 138, 92, 0.22), transparent 70%),
		var(--ink);
}
.section__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 24px;
}
.section__head .section__title {
	margin-bottom: 0;
}
.section__title {
	margin-bottom: 16px;
	font-family: var(--font-display);
	font-size: clamp(22px, 6.4vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.section__lead {
	max-width: 60ch;
	margin-bottom: 24px;
	color: var(--muted);
	font-size: 18px;
}
.section--night .section__lead {
	color: var(--night-muted);
}
.eyebrow {
	margin-bottom: 12px;
	color: var(--glow-soft);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.eyebrow--dark {
	color: var(--glow-text);
}

/* ---------- Cards ---------- */
.card {
	padding: 24px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.card__title {
	margin-bottom: 8px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}
.card p {
	color: var(--muted);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	white-space: nowrap;
}
.badge--ok {
	background: var(--ok-bg);
	color: var(--ok);
}
.badge--wait {
	background: var(--wait-bg);
	color: var(--wait);
}
.badge--note {
	background: #e7e9f5;
	color: #2c3566;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: 40px 56px;
	background:
		radial-gradient(90% 55% at 50% 108%, rgba(255, 138, 92, 0.3), transparent 70%),
		radial-gradient(70% 45% at 0% 0%, rgba(74, 92, 190, 0.35), transparent 70%),
		var(--ink);
	color: var(--night-text);
}
.hero__grid {
	display: grid;
	gap: 32px;
}
.hero__title {
	margin-bottom: 16px;
	font-family: var(--font-display);
	font-size: clamp(29px, 8.6vw, 56px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.hero__title-warm {
	display: block;
	color: var(--glow);
}
.hero__lead {
	max-width: 54ch;
	margin-bottom: 24px;
	color: var(--night-muted);
	font-size: 18px;
}
.hero__actions {
	display: grid;
	gap: 12px;
}

.progress-card {
	padding: 20px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.live {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	color: var(--night-muted);
	font-size: 14px;
	font-weight: 600;
}
.live__dot {
	position: relative;
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #58d59a;
}
.live__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #58d59a;
	animation: pulse 2.2s ease-out infinite;
}
.progress-card__main {
	display: flex;
	align-items: center;
	gap: 20px;
}
.ring {
	position: relative;
	flex: none;
	width: 124px;
	height: 124px;
}
.ring svg {
	display: block;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	overflow: visible;
}
.ring__track,
.ring__bar {
	fill: none;
	stroke-width: 10;
}
.ring__track {
	stroke: rgba(255, 255, 255, 0.12);
}
.ring__bar {
	stroke: var(--glow);
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: calc(100 - var(--ring-progress));
	filter: drop-shadow(0 0 7px rgba(255, 138, 92, 0.75));
	animation: ring-fill 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.ring__label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.15;
}
.ring__value {
	font-family: var(--font-display);
	font-size: 25px;
	font-weight: 700;
}
.ring__caption {
	color: var(--night-muted);
	font-size: 13px;
}
.progress-card__label {
	color: var(--night-muted);
	font-size: 14px;
	font-weight: 600;
}
.progress-card__amount {
	font-family: var(--font-display);
	font-size: clamp(27px, 8.4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}
.progress-card__unit {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--night-muted);
}
.progress-card__goal {
	color: var(--night-muted);
	font-size: 15px;
}
.progress-card__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 20px 0 16px;
	padding-top: 16px;
	border-top: 1px solid var(--ink-line);
}
.progress-card__stats dt {
	color: var(--night-muted);
	font-size: 12.5px;
	line-height: 1.3;
}
.progress-card__stats dd {
	margin-top: 4px;
	font-size: 17px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.progress-card__note {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--glow-soft);
	font-size: 14px;
	font-weight: 600;
}

/* ---------- Key numbers ---------- */
.numbers {
	display: grid;
	gap: 12px;
}
.numbers__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.numbers__value {
	flex: none;
	min-width: 104px;
	color: var(--glow-text);
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	white-space: nowrap;
}
.numbers__label {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.35;
}

/* ---------- Steps ---------- */
.steps {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}
.step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.step .card__title {
	margin-bottom: 0;
}
.step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--glow);
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
}
.code-chip {
	align-self: flex-start;
	padding: 8px 16px;
	border: 1.5px dashed var(--glow);
	border-radius: 12px;
	background: #fff5ee;
	color: var(--text) !important;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.step .btn {
	margin-top: auto;
}
.pay {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	padding: 12px;
	border-radius: var(--radius-sm);
	background: var(--sand);
}
.pay--soon {
	display: block;
	color: var(--text);
	font-weight: 600;
	line-height: 1.5;
}
.pay__details {
	color: var(--text) !important;
	font-weight: 700;
	word-break: break-word;
}
.status-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}
.status-flow__arrow {
	color: var(--muted);
}

/* ---------- Other ways ---------- */
.ways {
	display: grid;
	gap: 28px;
}
.ways__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.ways__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}
.ways__icon,
.principle__icon,
.program__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #ffeadd;
	color: var(--glow-text);
}

/* ---------- Donations ---------- */
.donations {
	display: grid;
	gap: 12px;
}
.donation {
	padding: 20px;
}
.donation__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.donation__code {
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
}
.donation__amount {
	color: var(--text) !important;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.donation__who {
	font-size: 15px;
}
.donation__message {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: var(--text) !important;
	font-size: 16px;
}

/* ---------- Budget ---------- */
.budget {
	display: grid;
	gap: 20px;
	padding: 24px 20px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.budget__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 12px;
	margin-bottom: 8px;
}
.budget__title {
	font-weight: 700;
}
.budget__sums {
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.budget__of {
	color: var(--muted);
}
.bar {
	height: 10px;
	overflow: hidden;
	border-radius: 999px;
	background: #efe4d3;
}
.bar__fill {
	display: block;
	width: var(--bar);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #ff8a5c, #ffb37d);
	transform-origin: left;
	animation: bar-grow 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.budget__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 14px;
}
.budget__key {
	width: 14px;
	height: 14px;
	border-radius: 4px;
}
.budget__key--actual {
	background: var(--glow);
}
.budget__key--planned {
	margin-left: 12px;
	background: #e4d6c0;
}

/* ---------- Celebration ---------- */
.program {
	display: grid;
	gap: 12px;
}
.program__item {
	padding: 20px;
	border: 1px solid var(--ink-line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
}
.program__icon {
	margin-bottom: 16px;
	background: rgba(255, 138, 92, 0.16);
	color: var(--glow-soft);
}
.program__item p {
	color: var(--night-muted);
}

/* ---------- About ---------- */
.about {
	display: grid;
	gap: 24px;
}
.about__photo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	aspect-ratio: 4 / 3;
	border: 1.5px dashed #b9a98f;
	border-radius: var(--radius);
	background: var(--sand);
	color: var(--muted);
	font-weight: 700;
}
.about__photo--real {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	object-fit: cover;
}
.quote {
	padding: 20px 24px;
	border-left: 4px solid var(--glow);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--sand);
}
.quote p {
	margin-bottom: 8px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.45;
}
.quote footer {
	color: var(--muted);
	font-size: 15px;
}
.quote a {
	color: var(--glow-text);
	font-weight: 700;
}

/* ---------- Principles ---------- */
.principles {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}
.principle__icon {
	margin-bottom: 16px;
}

/* ---------- Partners / empty states ---------- */
.empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 36px 20px;
	border: 1.5px dashed #cdbda3;
	border-radius: var(--radius);
	text-align: center;
}
.empty__icon {
	color: var(--glow-text);
}
.empty__title {
	font-size: 18px;
	font-weight: 800;
}
.empty__text {
	color: var(--muted);
}
.partners {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.partners__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 16px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

/* ---------- Contacts ---------- */
.contacts {
	display: grid;
	gap: 16px;
}
.contacts__list {
	display: grid;
	gap: 12px;
}
.contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 72px;
	padding: 14px 20px;
	border: 1px solid var(--ink-line);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
	transition: border-color 0.2s ease;
}
.contact:hover {
	border-color: var(--glow);
}
.contact__label {
	color: var(--night-muted);
	font-size: 13px;
	font-weight: 700;
}
.contact__value {
	font-size: 18px;
	white-space: nowrap;
	font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
	padding-block: 32px;
	background: #080d24;
	color: var(--night-muted);
	font-size: 15px;
}
.site-footer__row {
	display: grid;
	gap: 20px;
}
.site-footer__name {
	margin-bottom: 8px;
	color: var(--night-text);
	font-family: var(--font-display);
	font-weight: 700;
}
.site-footer__note {
	max-width: 46ch;
}
.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}
.site-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--night-text);
	font-weight: 600;
}
.site-footer__copy {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--ink-line);
	font-size: 14px;
}

/* ---------- Prose (plain pages) ---------- */
.prose > * + * {
	margin-top: 1em;
}

/* ---------- Motion ---------- */
@keyframes pulse {
	from {
		opacity: 0.7;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(3);
	}
}
@keyframes ring-fill {
	from {
		stroke-dashoffset: 100;
	}
}
@keyframes bar-grow {
	from {
		transform: scaleX(0);
	}
}

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

/* ---------- Wider screens ---------- */
@media (min-width: 600px) {
	:root {
		--gutter: 24px;
	}
	.hero__actions {
		display: flex;
		flex-wrap: wrap;
	}
	.numbers,
	.program {
		grid-template-columns: repeat(3, 1fr);
	}
	.contacts__list {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	.numbers__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.donations,
	.principles {
		grid-template-columns: repeat(2, 1fr);
	}
	.ways__list {
		grid-template-columns: repeat(3, 1fr);
	}
	.partners {
		grid-template-columns: repeat(4, 1fr);
	}
	.section__head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

@media (min-width: 920px) {
	.section {
		padding-block: 88px;
	}
	.section--tight {
		padding-block: 40px;
	}
	.hero {
		padding-block: 72px 96px;
	}
	.hero__grid {
		grid-template-columns: 1.15fr 0.85fr;
		align-items: center;
		gap: 56px;
	}
	.progress-card {
		padding: 28px;
	}
	.nav-toggle {
		display: none;
	}
	.site-nav {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 20px;
		width: auto;
		padding: 0;
	}
	.site-nav__list {
		display: flex;
		gap: 20px;
	}
	.site-nav__list a {
		min-height: 44px;
		border-bottom: 0;
		font-size: 15px;
	}
	.site-nav__list a:hover {
		color: var(--glow-soft);
	}
	.lang-switch {
		padding: 0;
	}
	.lang-switch a {
		min-width: 48px;
	}
	.steps,
	.principles {
		grid-template-columns: repeat(3, 1fr);
	}
	.donations {
		grid-template-columns: repeat(4, 1fr);
	}
	.ways,
	.about,
	.contacts {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 56px;
	}
	.about--no-photo {
		grid-template-columns: minmax(0, 760px);
	}
	.budget {
		padding: 32px;
	}
	.site-footer__row {
		grid-template-columns: 1fr auto;
		align-items: start;
	}
}

/* ==========================================================================
   Inner pages: forms, find my donation, ledger
   ========================================================================== */
.page-head {
	padding-block: 32px;
	background:
		radial-gradient(70% 120% at 100% 120%, rgba(255, 138, 92, 0.22), transparent 70%),
		var(--ink);
	color: var(--night-text);
}
.page-head__title {
	font-family: var(--font-display);
	font-size: clamp(24px, 7vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.page-head__lead {
	max-width: 60ch;
	margin-top: 12px;
	color: var(--night-muted);
	font-size: 18px;
}
.section--page {
	padding-block: 32px 64px;
}

/* ---------- Forms ---------- */
.teplo-form-card,
.teplo-find {
	max-width: 560px;
	margin-inline: auto;
}
.teplo-form-card {
	padding: 24px 20px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.form {
	display: grid;
	gap: 20px;
}
.form__field {
	display: grid;
	gap: 6px;
}
.form label {
	font-weight: 700;
}
.form__optional {
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
}
.form input[type="text"],
.form input[type="search"],
.form select,
.form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1.5px solid #cfc3b0;
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--text);
	font: inherit;
	font-size: 17px;
}
.form textarea {
	resize: vertical;
}
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
	border-color: var(--glow-text);
	outline-offset: 1px;
}
.form__hint {
	color: var(--muted);
	font-size: 14px;
}
.form__hint--center {
	text-align: center;
}
.form__check {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-weight: 600 !important;
	cursor: pointer;
}
.form__check input {
	flex: none;
	width: 24px;
	height: 24px;
	accent-color: var(--glow-text);
}
.form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form--inline {
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 12px;
	margin-bottom: 24px;
}
.notice {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}
.notice--error {
	background: #fde8e4;
	color: #8a1f11;
}

/* ---------- New code ---------- */
.code-ready {
	margin-bottom: 28px;
	padding: 24px 20px;
	border-radius: var(--radius);
	background:
		radial-gradient(80% 90% at 50% 120%, rgba(255, 138, 92, 0.28), transparent 70%),
		var(--ink);
	color: var(--night-text);
	text-align: center;
}
.code-ready__label {
	color: var(--night-muted);
	font-size: 14px;
	font-weight: 700;
}
.code-ready__code {
	margin: 4px 0 12px;
	color: var(--glow);
	font-family: var(--font-display);
	font-size: clamp(36px, 12vw, 52px);
	font-weight: 700;
	letter-spacing: 0.03em;
	user-select: all;
}
.code-ready__text {
	margin-bottom: 20px;
	color: var(--night-muted);
}
.code-ready .pay {
	background: rgba(255, 255, 255, 0.08);
	text-align: left;
}
.code-ready .pay--soon {
	color: var(--night-text);
}
.code-ready .pay__details {
	color: var(--night-text) !important;
}
.pay__qr-img {
	flex: none;
	border-radius: 12px;
	background: #fff;
}

/* ---------- Find result ---------- */
.result__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.result__code {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
}
.result__facts {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}
.result__facts > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}
.result__facts dt {
	color: var(--muted);
}
.result__facts dd {
	font-weight: 800;
	text-align: right;
}
.result__message {
	margin-bottom: 16px;
	color: var(--text) !important;
	font-size: 18px;
}
.result__hint {
	margin-bottom: 16px;
	font-size: 15px;
}
.result__path-title {
	margin: 8px 0 16px;
	font-size: 17px;
	font-weight: 800;
}
.path {
	display: grid;
}
.path__step {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	color: var(--muted);
}
.path__step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 34px;
	bottom: -14px;
	width: 2px;
	background: var(--line);
}
.path__step.is-done:not(:last-child)::before {
	background: var(--ok);
}
.path__dot {
	position: relative;
	z-index: 1;
	flex: none;
	width: 22px;
	height: 22px;
	border: 2px solid #cfc3b0;
	border-radius: 50%;
	background: var(--card);
}
.path__step.is-done {
	color: var(--text);
	font-weight: 700;
}
.path__step.is-done .path__dot {
	border-color: var(--ok);
	background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Ledger ---------- */
.totals {
	display: grid;
	gap: 12px;
	margin-bottom: 24px;
}
.totals__item {
	display: grid;
	gap: 2px;
	padding: 16px 20px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.totals__label,
.totals__note {
	color: var(--muted);
	font-size: 14px;
}
.totals__value {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.filters {
	gap: 12px;
	margin-bottom: 12px;
	padding: 16px;
	background: var(--sand);
	border-radius: var(--radius-sm);
}
.teplo-ledger__links {
	margin-bottom: 16px;
}
.ledger {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}
.ledger thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.ledger tr {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 12px;
	margin-bottom: 12px;
	padding: 16px 20px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.ledger td {
	display: block;
	padding: 0;
}
/* Phone card: code + status on top, then amount, who, the rest. */
.ledger td:nth-child(2) { order: 1; }
.ledger td:nth-child(7) { order: 2; justify-self: end; }
.ledger td:nth-child(6) { order: 3; grid-column: 1 / -1; }
.ledger td:nth-child(3) { order: 4; }
.ledger td:nth-child(1) { order: 5; justify-self: end; color: var(--muted); }
.ledger td:nth-child(4) { order: 6; grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.ledger td:nth-child(5) { order: 7; grid-column: 1 / -1; }
.ledger__code {
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	align-self: center;
}
.ledger__num {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ledger__message.is-empty {
	display: none;
}
.ledger__message {
	padding-top: 8px !important;
	border-top: 1px solid var(--line);
}
.pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.pager__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
	font-weight: 700;
	text-decoration: none;
}
.pager__link[aria-current="page"] {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--night-text);
}

@media (min-width: 600px) {
	.totals {
		grid-template-columns: repeat(3, 1fr);
	}
	.filters {
		grid-template-columns: 2fr 1fr 1fr auto;
		align-items: end;
	}
	.result__facts > div:last-child {
		border-bottom: 0;
	}
}

@media (min-width: 920px) {
	.page-head {
		padding-block: 56px;
	}
	.ledger thead {
		position: static;
		width: auto;
		height: auto;
		clip: auto;
	}
	.ledger {
		background: var(--card);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		border-collapse: separate;
		border-spacing: 0;
		overflow: hidden;
	}
	.ledger tr {
		display: table-row;
	}
	.ledger th,
	.ledger td {
		display: table-cell;
		padding: 14px 16px !important;
		border-top: 0;
		border-bottom: 1px solid var(--line);
		text-align: left;
		vertical-align: middle;
		color: inherit !important;
		font-size: 16px !important;
	}
	.ledger th {
		background: var(--sand);
		color: var(--muted) !important;
		font-size: 13px !important;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}
	.ledger tbody tr:last-child td {
		border-bottom: 0;
	}
	.ledger__message.is-empty {
		display: table-cell;
	}
	.ledger .ledger__num {
		font-size: 17px !important;
		text-align: right;
		white-space: nowrap;
	}
}

@media (min-width: 920px) {
	.ledger td:nth-child(1),
	.ledger .ledger__code {
		white-space: nowrap;
	}
	.ledger th.ledger__num {
		font-family: var(--font-body);
		font-weight: 700;
	}
}

/* ==========================================================================
   Expenses and reports
   ========================================================================== */
.block-title {
	margin: 36px 0 16px;
	font-family: var(--font-display);
	font-size: clamp(19px, 5.4vw, 26px);
	font-weight: 700;
	line-height: 1.25;
}
.totals__item--accent {
	border-color: var(--glow);
	background: #fff5ee;
}
.table-scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--card);
}
.plan {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.plan th,
.plan td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.plan th:first-child {
	padding-left: 16px;
}
.plan td:last-child,
.plan th:last-child {
	padding-right: 16px;
}
.plan thead th {
	background: var(--sand);
	color: var(--muted);
	font-size: 12.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.plan tbody th {
	font-weight: 600;
}
.plan tfoot th,
.plan tfoot td {
	border-bottom: 0;
	font-weight: 800;
}
.plan .plan__num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.purchases {
	display: grid;
	gap: 12px;
}
.purchase {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	padding: 16px;
}
.purchase__receipt {
	position: relative;
	display: block;
	overflow: hidden;
	width: 96px;
	height: 128px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--sand);
}
.purchase__receipt img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.purchase__zoom {
	position: absolute;
	inset: auto 0 0 0;
	padding: 5px 4px;
	background: rgba(12, 18, 48, 0.82);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	text-align: center;
}
.purchase__receipt--none {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-size: 24px;
}
.purchase__amount {
	color: var(--text) !important;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.purchase__title {
	margin: 4px 0;
	color: var(--text) !important;
	font-weight: 700;
}
.purchase__meta {
	font-size: 14.5px;
}

.lightbox {
	width: min(96vw, 720px);
	max-height: 94vh;
	padding: 12px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--ink);
}
.lightbox::backdrop {
	background: rgba(8, 13, 36, 0.86);
}
.lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(94vh - 84px);
	margin-inline: auto;
	border-radius: 8px;
}
.lightbox__close {
	display: block;
	min-height: 44px;
	margin: 0 0 10px auto;
	padding: 8px 20px;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: transparent;
	color: var(--night-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.reports-group__empty {
	padding: 16px 20px;
	border: 1.5px dashed #cdbda3;
	border-radius: var(--radius-sm);
	color: var(--muted);
}
.reports {
	display: grid;
	gap: 10px;
}
.report {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 12px 16px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: border-color 0.2s ease;
}
.report:hover {
	border-color: var(--glow);
}
.report__type {
	flex: none;
	min-width: 52px;
	padding: 6px 8px;
	border-radius: 8px;
	background: var(--ink);
	color: var(--glow-soft);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}
.report__body {
	display: grid;
}
.report__title {
	font-weight: 700;
}
.report__date {
	color: var(--muted);
	font-size: 14px;
}
.partners__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}
.partners__item img {
	max-height: 72px;
	width: auto;
	object-fit: contain;
}

@media (min-width: 600px) {
	.purchases {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* On a phone the «left» column is dropped so the plan table fits without sideways scrolling. */
@media (max-width: 599px) {
	.plan th:nth-child(4),
	.plan td:nth-child(4) {
		display: none;
	}
	.plan td:nth-child(3),
	.plan th:nth-child(3) {
		padding-right: 16px;
	}
}

.nowrap {
	white-space: nowrap;
}
