/* ==========================================================================
   Help ZSU MK — дизайн-система
   ========================================================================== */

:root {
	--hz-ink: #151d16;          /* майже чорний з зеленим відтінком */
	--hz-ink-2: #1f2b20;
	--hz-olive: #3d5a3a;
	--hz-olive-2: #56784f;
	--hz-khaki: #c9bf9a;
	--hz-sand: #f4f1e8;          /* світлий фон секцій */
	--hz-paper: #fbfaf6;
	--hz-yellow: #ffd23f;        /* акцент — кнопка донату */
	--hz-yellow-2: #ffc300;
	--hz-text: #1c231d;
	--hz-muted: #5d665c;
	--hz-line: #e3dfd2;
	--hz-radius: 14px;
	--hz-radius-lg: 22px;
	--hz-shadow: 0 1px 2px rgba(21, 29, 22, .06), 0 8px 24px rgba(21, 29, 22, .08);
	--hz-shadow-lg: 0 2px 4px rgba(21, 29, 22, .06), 0 20px 48px rgba(21, 29, 22, .14);
	--hz-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--hz-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
	--hz-header-h: 76px;
	--hz-top: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- База ---------- */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.hz-lock { overflow: hidden; }

body.hz {
	margin: 0;
	font-family: var(--hz-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--hz-text);
	background: var(--hz-paper);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
.hz *, .hz *::before, .hz *::after { box-sizing: border-box; }
.hz img { max-width: 100%; height: auto; display: block; }
.hz a { color: inherit; }
.hz h1, .hz h2, .hz h3, .hz h4 { margin: 0; font-weight: 700; line-height: 1.15; color: inherit; letter-spacing: -.01em; }
.hz p { margin: 0 0 1em; }
.hz ul { margin: 0; padding: 0; }
.hz button { font: inherit; }
.hz :focus-visible { outline: 3px solid var(--hz-yellow); outline-offset: 3px; border-radius: 6px; }

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

.hz-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--hz-yellow); color: var(--hz-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.hz-skip:focus { top: 12px; }

.hz-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

.hz-main { display: block; }

.hz-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--hz-olive-2); margin: 0 0 14px !important;
}
.hz-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.hz-h2 { font-family: var(--hz-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; margin-bottom: 18px !important; }
.hz-h3 { font-family: var(--hz-display); font-size: clamp(19px, 2vw, 23px); font-weight: 500; margin-bottom: 18px !important; }

/* ---------- Кнопки ---------- */

.hz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .01em;
	text-decoration: none !important; cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.hz-btn:hover { transform: translateY(-2px); }
.hz-btn:active { transform: translateY(0); }
.hz-btn--lg { padding: 16px 30px; font-size: 16px; }
.hz-btn--block { display: flex; width: 100%; }

.hz-btn--donate { background: var(--hz-yellow); color: var(--hz-ink) !important; box-shadow: 0 6px 20px rgba(255, 195, 0, .28); }
.hz-btn--donate:hover { background: var(--hz-yellow-2); box-shadow: 0 10px 28px rgba(255, 195, 0, .38); }
.hz-btn--donate .hz-icon { fill: currentColor; stroke: none; }

.hz-btn--ghost { background: rgba(255, 255, 255, .06); color: #fff !important; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.hz-btn--ghost:hover { background: #fff; color: var(--hz-ink) !important; border-color: #fff; }

.hz-btn--light { background: #fff; color: var(--hz-ink) !important; }
.hz-btn--light:hover { background: var(--hz-sand); }

/* ---------- Шапка ---------- */

.hz-header {
	position: sticky; top: var(--hz-top); z-index: 100;
	background: rgba(21, 29, 22, .96);
	color: #fff;
	transition: background-color .3s ease, box-shadow .3s ease, transform .35s cubic-bezier(.2,.7,.2,1);
	view-transition-name: hz-header;
}
.hz-header.is-hidden { transform: translateY(calc(-100% - var(--hz-top))); }
.hz-header--overlay { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(10, 14, 10, .55), rgba(10, 14, 10, 0)); }
/* без backdrop-filter: він ламає position:fixed мобільного меню */
.hz-header.is-scrolled { background: rgba(21, 29, 22, .97); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }

.hz-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--hz-header-h); }

.hz-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: #fff !important; flex: none; }
.hz-logo__img { border-radius: 50%; object-fit: cover; }
.hz-logo__name { font-family: var(--hz-display); font-weight: 500; font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.hz-logo__name b { color: var(--hz-yellow); font-weight: 700; }

.hz-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.hz-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.hz-nav__list li { margin: 0; }
.hz-nav__list a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: rgba(255, 255, 255, .86) !important; text-decoration: none !important; font-weight: 600; font-size: 15px;
	transition: background-color .2s, color .2s;
}
.hz-nav__list a:hover { color: #fff !important; background: rgba(255, 255, 255, .1); }
.hz-nav__list .current-menu-item > a,
.hz-nav__list .current_page_item > a { color: var(--hz-ink) !important; background: var(--hz-khaki); }

.hz-burger {
	display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
	align-items: center; justify-content: center;
}
.hz-burger .hz-icon { width: 24px; height: 24px; }
.hz-burger__close { display: none; }
.hz-header.is-open .hz-burger__open { display: none; }
.hz-header.is-open .hz-burger__close { display: block; }

@media (max-width: 960px) {
	:root { --hz-header-h: 68px; }
	.hz-burger { display: inline-flex; }
	.hz-nav {
		position: fixed; inset: calc(var(--hz-header-h) + var(--hz-top)) 0 0 0;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 24px; background: var(--hz-ink);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
		overflow-y: auto;
	}
	.hz-header.is-open { background: var(--hz-ink); }
	.hz-header.is-open .hz-nav { opacity: 1; visibility: visible; transform: none; }
	.hz-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.hz-nav__list a { font-size: 20px; padding: 14px 16px; border-radius: 12px; }
	.hz-nav__cta { padding: 16px; font-size: 17px; }
}
@media (max-width: 420px) {
	.hz-logo__name { display: none; }
}

/* ---------- Герой ---------- */

.hz-hero {
	position: relative; isolation: isolate;
	min-height: min(100svh, 860px);
	display: flex; align-items: flex-end;
	padding: calc(var(--hz-header-h) + 60px) 0 clamp(56px, 9vh, 96px);
	color: #fff; background: var(--hz-ink); overflow: hidden;
}
.hz-hero__media { position: absolute; inset: 0; z-index: -1; }
.hz-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 14, 10, .35) 0%, rgba(10, 14, 10, .15) 35%, rgba(10, 14, 10, .85) 100%),
		linear-gradient(90deg, rgba(10, 14, 10, .65) 0%, rgba(10, 14, 10, 0) 70%);
}
.hz-hero__img {
	position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover;
	opacity: 0; transform: scale(1.04);
	transition: opacity 1.4s ease, transform 7s ease-out;
}
.hz-hero__img.is-active { opacity: 1; transform: scale(1); }

.hz-hero__content { position: relative; }
.hz-hero .hz-eyebrow { color: var(--hz-khaki); }
.hz-hero__title {
	font-family: var(--hz-display); font-weight: 700;
	font-size: clamp(24px, 7.4vw, 80px); line-height: 1.02; letter-spacing: -.02em;
	max-width: 13ch; margin-bottom: 20px !important; text-wrap: balance;
}
.hz-hero__lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 34ch; color: rgba(255, 255, 255, .88); margin-bottom: 32px !important; }
.hz-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 560px) {
	.hz-hero { min-height: 88svh; }
	.hz-hero__actions .hz-btn { flex: 1 1 100%; }
}

/* ---------- Цифри ---------- */

.hz-stats { background: var(--hz-ink); color: #fff; padding: 0 0 8px; }
.hz-stats__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: rgba(255, 255, 255, .08); border-radius: var(--hz-radius-lg); overflow: hidden;
	transform: translateY(-36px); margin-bottom: -36px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}
.hz-stat { background: var(--hz-ink-2); padding: 26px 24px; }
.hz-stat b { display: block; font-family: var(--hz-display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1; color: var(--hz-yellow); margin-bottom: 10px; font-weight: 700; }
.hz-stat span { display: block; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.4; }

.hz-stats__grid--inline { transform: none; margin: 8px 0 0; box-shadow: none; }

@media (max-width: 860px) {
	.hz-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
	.hz-stat { padding: 20px 16px; }
}

/* ---------- Секції ---------- */

.hz-section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.hz-section--alt { background: var(--hz-sand); }
.hz-section--dark { background: var(--hz-ink); color: #fff; }
.hz-section--dark .hz-eyebrow { color: var(--hz-khaki); }
.hz-section--dark .hz-prose p { color: rgba(255, 255, 255, .78); }

.hz-section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.hz-section__head .hz-eyebrow { justify-content: center; }
.hz-section__head--left { text-align: left; margin-left: 0; margin-bottom: 32px; }
.hz-section__head--left .hz-eyebrow { justify-content: flex-start; }
.hz-section__lead { color: var(--hz-muted); font-size: 18px; margin: 0 !important; }

.hz-prose { font-size: 17px; }
.hz-prose p { color: #384136; }
.hz-prose--narrow { max-width: 760px; }
.hz-prose a { color: var(--hz-olive) !important; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.hz-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hz-split--reverse { grid-template-columns: .9fr 1.1fr; margin-bottom: 72px; }
.hz-split--reverse .hz-split__media { order: -1; }
.hz-split__media img { width: 100%; border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow-lg); object-fit: cover; max-height: 560px; }
@media (max-width: 900px) {
	.hz-split, .hz-split--reverse { grid-template-columns: 1fr; }
	.hz-split--reverse .hz-split__media { order: 0; }
}

/* ---------- Сторінка: шапка ---------- */

.hz-pagehead {
	position: relative; isolation: isolate; color: #fff; overflow: hidden;
	background: var(--hz-ink);
	padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}
.hz-pagehead::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
	background: url("../images/camo.webp") center / cover no-repeat;
}
.hz-pagehead::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(21, 29, 22, .95) 0%, rgba(21, 29, 22, .7) 60%, rgba(21, 29, 22, .45) 100%);
}
.hz-pagehead__title { font-family: var(--hz-display); font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -.02em; margin-bottom: 16px !important; }
.hz-pagehead__lead { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .8); max-width: 60ch; margin: 0 !important; }

/* ---------- Соцмережі ---------- */

.hz-socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hz-social {
	display: flex; align-items: center; gap: 18px; padding: 24px;
	background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius-lg);
	text-decoration: none !important; color: var(--hz-text) !important;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hz-social:hover { transform: translateY(-4px); box-shadow: var(--hz-shadow-lg); border-color: transparent; }
.hz-social__icon {
	width: 58px; height: 58px; border-radius: 16px; flex: none;
	display: grid; place-items: center; color: #fff; background: var(--hz-olive);
}
.hz-social__icon .hz-icon { width: 28px; height: 28px; }
.hz-social--telegram .hz-social__icon { background: #229ed9; }
.hz-social--instagram .hz-social__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hz-social--tiktok .hz-social__icon { background: #111; box-shadow: inset -3px -3px 0 #ee1d52, inset 3px 3px 0 #69c9d0; }
.hz-social__body { display: flex; flex-direction: column; min-width: 0; }
.hz-social__body b { font-size: 19px; }
.hz-social__body span { color: var(--hz-muted); font-size: 15px; line-height: 1.4; }
.hz-social__arrow { margin-left: auto; color: var(--hz-olive-2); transition: transform .25s; }
.hz-social:hover .hz-social__arrow { transform: translateX(4px); }
@media (max-width: 900px) { .hz-socials { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Картки виробів (головна) ---------- */

.hz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hz-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow);
	text-decoration: none !important; color: var(--hz-text) !important;
	transition: transform .3s ease, box-shadow .3s ease;
}
.hz-card:hover { transform: translateY(-6px); box-shadow: var(--hz-shadow-lg); }
.hz-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--hz-line); }
.hz-card__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.hz-card:hover .hz-card__media img { transform: scale(1.05); }
.hz-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hz-card__title { font-family: var(--hz-display); font-size: 19px; font-weight: 500; margin-bottom: 10px !important; }
.hz-card__text { color: var(--hz-muted); font-size: 15.5px; line-height: 1.55; margin-bottom: 18px !important; }
.hz-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hz-olive); font-size: 15px; }
.hz-card__more .hz-icon { transition: transform .25s; }
.hz-card:hover .hz-card__more .hz-icon { transform: translateX(4px); }
@media (max-width: 900px) { .hz-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- CTA ---------- */

.hz-cta { padding: 0 0 clamp(64px, 9vw, 112px); }
.hz-section--alt + .hz-cta, .hz-section--dark + .hz-cta { padding-top: clamp(64px, 9vw, 112px); }
.hz-cta__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	background: var(--hz-olive) radial-gradient(120% 140% at 100% 0%, rgba(255, 210, 63, .22) 0%, rgba(255, 210, 63, 0) 55%);
	color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px);
	max-width: 1152px;
}
.hz-cta__inner .hz-h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px !important; }
.hz-cta__inner p { margin: 0 !important; color: rgba(255, 255, 255, .85); max-width: 56ch; }
.hz-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 820px) {
	.hz-cta__inner { flex-direction: column; align-items: flex-start; margin-inline: 16px; width: auto; }
	.hz-cta__inner .hz-btn, .hz-cta__actions { width: 100%; }
	.hz-cta__actions .hz-btn { flex: 1 1 100%; }
}

/* ---------- Галерея ---------- */

.hz-gallery { position: relative; margin-top: 40px; }
.hz-gallery__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px max(24px, calc((100vw - 1152px) / 2)) 12px;
	scroll-padding-inline: max(24px, calc((100vw - 1152px) / 2));
	scrollbar-width: none;
}
.hz-gallery__track::-webkit-scrollbar { display: none; }
.hz-gallery__item {
	flex: 0 0 clamp(240px, 30vw, 380px); margin: 0; scroll-snap-align: start;
	aspect-ratio: 4 / 3; border-radius: var(--hz-radius); overflow: hidden; background: var(--hz-line);
}
.hz-gallery__item img { width: 100%; height: 100% !important; object-fit: cover; }
.hz-gallery__btn {
	position: absolute; top: calc(50% - 26px); width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; border: 0; cursor: pointer;
	background: #fff; color: var(--hz-ink); box-shadow: var(--hz-shadow-lg);
	transition: opacity .2s, transform .2s;
}
.hz-gallery__btn:hover { transform: scale(1.06); }
.hz-gallery__btn:disabled { opacity: 0; pointer-events: none; }
.hz-gallery__btn--prev { left: max(12px, calc((100vw - 1200px) / 2)); }
.hz-gallery__btn--next { right: max(12px, calc((100vw - 1200px) / 2)); }
.hz-gallery.is-static .hz-gallery__btn { display: none; }
.hz-gallery--dark .hz-gallery__item { background: var(--hz-ink-2); }
@media (hover: none) { .hz-gallery__btn { display: none; } }
@media (max-width: 640px) { .hz-gallery__item { flex-basis: 82vw; } }

/* Одна фотографія на всю ширину (сторінка виробів) */
.hz-gallery--single { margin: 0; height: 100%; }
.hz-gallery--single .hz-gallery__track { padding: 0; scroll-padding: 0; gap: 0; height: 100%; }
.hz-gallery--single .hz-gallery__item { flex: 0 0 100%; border-radius: 0; aspect-ratio: auto; min-height: 100%; }
.hz-gallery--single .hz-gallery__btn--prev { left: 14px; }
.hz-gallery--single .hz-gallery__btn--next { right: 14px; }
.hz-gallery--single .hz-gallery__btn { display: grid; width: 42px; height: 42px; background: rgba(255, 255, 255, .92); }
.hz-gallery--single.is-static .hz-gallery__btn { display: none; }

/* ---------- Список можливостей (Про нас) ---------- */

.hz-features { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 12px !important; }
.hz-features li {
	display: flex; gap: 16px; align-items: flex-start; padding: 22px;
	background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius);
	color: var(--hz-muted); font-size: 15.5px; line-height: 1.55;
}
.hz-features li > .hz-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--hz-yellow); color: var(--hz-ink); }
.hz-features b { display: block; color: var(--hz-text); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 760px) { .hz-features { grid-template-columns: 1fr; } }

/* ---------- Преса ---------- */

.hz-press { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hz-press__item {
	display: flex; flex-direction: column; gap: 8px; text-decoration: none !important; color: var(--hz-text) !important;
}
.hz-press__media { aspect-ratio: 16 / 10; border-radius: var(--hz-radius); overflow: hidden; background: var(--hz-line); margin-bottom: 6px; }
.hz-press__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.hz-press__item:hover .hz-press__media img { transform: scale(1.05); }
.hz-press__source { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hz-olive-2); }
.hz-press__source .hz-icon { width: 14px; height: 14px; }
.hz-press__title { font-weight: 700; line-height: 1.4; }
.hz-press__item:hover .hz-press__title { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .hz-press { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hz-press { grid-template-columns: 1fr; } }

/* ---------- Сторінка виробів ---------- */

.hz-products { display: grid; gap: 32px; }
.hz-product {
	display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
	background: #fff; border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow);
}
.hz-product:nth-child(even) .hz-product__media { order: 2; }
.hz-product__media { position: relative; min-height: 420px; background: var(--hz-line); }
.hz-product__media .hz-gallery { position: absolute; inset: 0; }
.hz-product__info { padding: clamp(28px, 4vw, 52px); }
.hz-product__title { font-family: var(--hz-display); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px !important; }
.hz-note { background: var(--hz-sand); border-left: 4px solid var(--hz-yellow); padding: 14px 18px; border-radius: 0 10px 10px 0; }

.hz-specs { margin: 20px 0 0; display: grid; gap: 0; border-top: 1px solid var(--hz-line); }
.hz-specs > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hz-line); font-size: 15px; }
.hz-specs dt { color: var(--hz-muted); font-weight: 500; }
.hz-specs dd { margin: 0; font-weight: 600; }

@media (max-width: 860px) {
	.hz-product { grid-template-columns: 1fr; }
	.hz-product:nth-child(even) .hz-product__media { order: 0; }
	.hz-product__media { min-height: 0; aspect-ratio: 4 / 3; }
	.hz-specs > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Партнери ---------- */

.hz-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hz-partner {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius-lg);
	padding: 28px 24px 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.hz-partner:hover { transform: translateY(-4px); box-shadow: var(--hz-shadow-lg); }
.hz-partner__logo {
	width: 100%; height: 180px; display: flex; align-items: center; justify-content: center;
	background: var(--hz-paper); border-radius: var(--hz-radius); padding: 20px; margin-bottom: 20px;
}
.hz-partner__logo img { max-height: 140px; width: auto; max-width: 100%; object-fit: contain; }
.hz-partner__name { font-family: var(--hz-display); font-size: 19px; font-weight: 500; margin-bottom: 16px !important; }
.hz-partner__name a { text-decoration: none; }
.hz-partner__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hz-partner__links, .hz-icon-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; }
.hz-partner__links a, .hz-icon-links a {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	background: var(--hz-sand); color: var(--hz-ink) !important; transition: background-color .2s, color .2s;
}
.hz-partner__links a:hover, .hz-icon-links a:hover { background: var(--hz-ink); color: var(--hz-yellow) !important; }
.hz-partner__links .hz-icon, .hz-icon-links .hz-icon { width: 20px; height: 20px; }
@media (max-width: 960px) { .hz-partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hz-partners { grid-template-columns: 1fr; } }

/* ---------- Контакти ---------- */

.hz-contacts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.hz-contacts__side { display: grid; gap: 24px; }
.hz-panel { background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius-lg); padding: clamp(24px, 3.5vw, 40px); }
.hz-panel--dark { background: var(--hz-ink); color: #fff; border-color: var(--hz-ink); }
.hz-panel--dark .hz-btn { margin-bottom: 20px; }
.hz-contact-list { list-style: none; display: grid; gap: 14px; margin-bottom: 24px !important; }
.hz-contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.hz-contact-list .hz-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--hz-sand); color: var(--hz-olive); }
.hz-contact-list a { text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.hz-contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hz-icon-links { justify-content: flex-start; }

.hz-req { margin-bottom: 14px; }
.hz-req__label { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.hz-req__value {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; text-align: left;
	font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 15px; letter-spacing: .03em; word-break: break-all;
	transition: background-color .2s, border-color .2s;
}
.hz-req__value:hover { background: rgba(255, 255, 255, .12); border-color: var(--hz-yellow); }
.hz-req__value .hz-icon { color: var(--hz-yellow); }
.hz-req__hint { font-size: 13px; color: rgba(255, 255, 255, .55); margin: 6px 0 0 !important; }

/* Контактна форма */
.hz-form { display: grid; gap: 16px; }
.hz-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hz-form__field { display: grid; gap: 6px; margin: 0; }
.hz-form__label { font-weight: 700; font-size: 15px; color: var(--hz-text); }
.hz-form__label b { color: #b3261e; font-weight: 700; }
.hz-form input[type=text],
.hz-form input[type=email],
.hz-form input[type=tel],
.hz-form textarea {
	width: 100%; max-width: 100%; box-sizing: border-box; border: 1px solid var(--hz-line); border-radius: 12px;
	padding: 12px 14px; font: inherit; color: var(--hz-text); background: var(--hz-paper); box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.hz-form textarea { resize: vertical; min-height: 140px; }
/* Поле з фокусом прокручується нижче липкої шапки разом із підписом */
.hz-form input,
.hz-form textarea { scroll-margin-top: calc(var(--hz-header-h) + var(--hz-top) + 40px); }
.hz-form input:focus,
.hz-form textarea:focus { border-color: var(--hz-olive); box-shadow: 0 0 0 3px rgba(61, 90, 58, .15); outline: none; }
.hz-form [aria-invalid=true] { border-color: #b3261e; }
.hz-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hz-form__submit {
	justify-self: start; background: var(--hz-ink); color: #fff; border: 0; border-radius: 999px;
	padding: 14px 28px; font: 700 16px/1.2 var(--hz-font); cursor: pointer; transition: background-color .2s, opacity .2s;
}
.hz-form__submit:hover { background: var(--hz-olive); }
.hz-form__submit[disabled] { opacity: .6; cursor: progress; }
.hz-form__status { margin: 0 !important; font-size: 15px; }
.hz-form__status:empty { display: none; }
.hz-form__status.is-ok { color: var(--hz-olive); font-weight: 700; }
.hz-form__status.is-error { color: #b3261e; }

@media (max-width: 600px) { .hz-form__row { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .hz-contacts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Футер ---------- */

.hz-footer { background: #0f1510; color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: 15px; text-align: left; }
.hz-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.hz-footer__brand p { margin: 18px 0 22px !important; max-width: 36ch; line-height: 1.6; }
.hz-footer__title { font-family: var(--hz-font); font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hz-khaki) !important; margin-bottom: 18px !important; }
.hz-footer ul { list-style: none; display: grid; gap: 10px; }
.hz-footer li a, .hz-footer li span { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .8) !important; text-decoration: none; transition: color .2s; }
.hz-footer li a:hover { color: var(--hz-yellow) !important; }
.hz-footer li .hz-icon { width: 18px; height: 18px; opacity: .7; }
.hz-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: rgba(255, 255, 255, .5); }
@media (max-width: 960px) { .hz-footer__grid { grid-template-columns: 1fr 1fr; } .hz-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hz-footer__grid { grid-template-columns: 1fr; gap: 32px; } .hz-footer__bottom { flex-direction: column; } }

/* ---------- Тост ---------- */

.hz-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px);
	background: var(--hz-ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
	box-shadow: var(--hz-shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
	max-width: calc(100% - 32px);
}
.hz-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Поява при прокрутці ---------- */


/* ---------- Старі сторінки (блог, сторінки без шаблону) ---------- */

body.hz:not(.page-template) .page_heading_container { padding-top: 48px !important; }

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

/* ==========================================================================
   ЕФЕКТИ
   ========================================================================== */

:root {
	--hz-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--hz-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Плавні переходи між сторінками (View Transitions, без JS) ---------- */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: hz-vt-out .28s ease both; }
::view-transition-new(root) { animation: hz-vt-in .45s var(--hz-ease) both; }
@keyframes hz-vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes hz-vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Прогрес прокрутки ---------- */

.hz-progress { position: fixed; top: var(--hz-top); left: 0; right: 0; height: 3px; z-index: 110; pointer-events: none; }
.hz-progress span {
	display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%;
	background: linear-gradient(90deg, #0057b7, var(--hz-yellow) 60%);
	box-shadow: 0 0 12px rgba(255, 210, 63, .7);
}

/* ---------- Зерно на темних блоках ---------- */

.hz-section--dark, .hz-footer, .hz-cta__inner, .hz-panel--dark { position: relative; isolation: isolate; }
.hz-section--dark::before, .hz-footer::before, .hz-cta__inner::before, .hz-panel--dark::before, .hz-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: var(--hz-noise); opacity: .07; mix-blend-mode: overlay; border-radius: inherit;
}
.hz-hero::before { z-index: 0; opacity: .1; }
.hz-pagehead::after {
	background:
		var(--hz-noise),
		linear-gradient(90deg, rgba(21, 29, 22, .95) 0%, rgba(21, 29, 22, .7) 60%, rgba(21, 29, 22, .45) 100%);
	background-blend-mode: overlay, normal;
}

/* ---------- Герой: поява заголовка по словах ---------- */

.hz-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hz-w > span { display: inline-block; animation: hz-rise 1s var(--hz-ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes hz-rise { from { transform: translateY(105%) rotate(4deg); } }

.hz-hero .hz-eyebrow, .hz-hero__lead, .hz-hero__actions, .hz-pagehead__lead {
	animation: hz-fade-up .9s var(--hz-ease) both;
}
.hz-hero .hz-eyebrow { animation-delay: .05s; }
.hz-hero__lead, .hz-pagehead__lead { animation-delay: .45s; }
.hz-hero__actions { animation-delay: .6s; }
@keyframes hz-fade-up { from { opacity: 0; transform: translateY(22px); } }

.hz-hero__media { will-change: transform; inset: -4% 0 -12%; }
.hz-hero__content { z-index: 1; }

/* «живий» індикатор */
.hz-eyebrow--live::before { display: none; }
.hz-live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; flex: none; }
.hz-live::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
	animation: hz-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes hz-ping { 75%, 100% { transform: scale(3); opacity: 0; } }

/* підказка «гортай» */
.hz-scrollcue {
	position: absolute; right: max(24px, calc((100vw - 1200px) / 2 + 24px)); bottom: clamp(56px, 9vh, 96px); z-index: 1;
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
	color: rgba(255, 255, 255, .7) !important; text-decoration: none !important;
	animation: hz-fade-up 1s 1.2s var(--hz-ease) both;
}
.hz-scrollcue span { position: relative; width: 2px; height: 44px; background: rgba(255, 255, 255, .2); overflow: hidden; border-radius: 2px; }
.hz-scrollcue span::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%;
	background: var(--hz-yellow); animation: hz-drop 1.8s ease-in-out infinite;
}
@keyframes hz-drop { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 900px), (max-height: 760px) { .hz-scrollcue { display: none; } }

/* ---------- Цифри: світіння ---------- */

.hz-stat { position: relative; transition: background-color .3s; }
.hz-stat b { text-shadow: 0 0 28px rgba(255, 210, 63, .35); font-variant-numeric: tabular-nums; }
.hz-stat:hover { background: #253326; }

/* ---------- Біжучий рядок ---------- */

.hz-marquee { overflow: hidden; padding: 30px 0 10px; position: relative; z-index: 2; }
.hz-marquee__track {
	display: flex; width: 110vw; margin-left: -5vw; overflow: hidden;
	background: var(--hz-yellow); color: var(--hz-ink);
	transform: rotate(-1.6deg); box-shadow: 0 12px 30px rgba(21, 29, 22, .15);
}
.hz-marquee__group {
	flex: none; min-width: 110vw; display: flex; align-items: center; justify-content: space-around; gap: 28px;
	padding: 16px 14px; animation: hz-marquee 38s linear infinite;
	font-family: var(--hz-display); font-weight: 700; font-size: clamp(15px, 1.6vw, 20px); text-transform: uppercase; white-space: nowrap;
}
.hz-marquee__group i { font-style: normal; color: var(--hz-olive); font-size: .8em; }
.hz-marquee:hover .hz-marquee__group { animation-play-state: paused; }
@keyframes hz-marquee { to { transform: translateX(-100%); } }

.hz-marquee--flat { padding: 0; }
.hz-marquee--flat .hz-marquee__track { transform: none; background: var(--hz-ink-2); color: var(--hz-khaki); box-shadow: none; border-top: 1px solid rgba(255, 255, 255, .06); }
.hz-marquee--flat .hz-marquee__group { padding-block: 14px; font-size: 14px; animation-duration: 45s; }
.hz-marquee--flat .hz-marquee__group i { color: var(--hz-yellow); }

/* ---------- Поява блоків ---------- */

.hz-js .hz-reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity .8s ease var(--d, 0ms), transform .8s var(--hz-ease) var(--d, 0ms);
}
.hz-js .hz-reveal.is-in { opacity: 1; transform: none; }
.hz-js .hz-reveal.hz-eyebrow::before { width: 0; transition: width .7s var(--hz-ease) calc(var(--d, 0ms) + 250ms); }
.hz-js .hz-reveal.hz-eyebrow.is-in::before { width: 26px; }
.hz-js .hz-split__media.hz-reveal { transform: translateY(28px) scale(.96); }
.hz-js .hz-split__media.hz-reveal.is-in { transform: none; }

/* ---------- Кнопка донату: відблиск і «серцебиття» ---------- */

.hz-btn { transition: transform .2s ease, translate .25s var(--hz-ease), background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease; }
.hz-btn--donate { position: relative; overflow: hidden; isolation: isolate; }
.hz-btn--donate::after {
	content: ""; position: absolute; top: -50%; bottom: -50%; left: -60%; width: 40%; z-index: -1;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
	transform: skewX(-20deg); animation: hz-shine 4.5s ease-in-out infinite;
}
@keyframes hz-shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }
.hz-btn--donate .hz-icon { animation: hz-beat 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes hz-beat { 0%, 40%, 100% { transform: scale(1); } 10%, 30% { transform: scale(1.22); } 20% { transform: scale(.95); } }

.hz-btn--ghost .hz-icon { transition: transform .3s var(--hz-ease); }
.hz-btn--ghost:hover .hz-icon { transform: rotate(-12deg) scale(1.15); }

/* ---------- «Прожектор» під курсором ---------- */

.hz-card, .hz-social, .hz-partner, .hz-features li, .hz-panel { position: relative; isolation: isolate; }
.hz-card::after, .hz-social::after, .hz-partner::after, .hz-features li::after, .hz-panel::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 210, 63, .16), transparent 45%);
	opacity: 0; transition: opacity .35s;
}
.hz-card:hover::after, .hz-social:hover::after, .hz-partner:hover::after, .hz-features li:hover::after, .hz-panel:hover::after { opacity: 1; }
.hz-panel--dark::after { background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 210, 63, .1), transparent 50%); }

/* ---------- 3D-нахил карток ---------- */

[data-tilt] {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--hz-ease), box-shadow .3s ease;
}
.hz-card[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); transition: transform .12s linear, box-shadow .3s ease; }
.hz-partner[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); transition: transform .12s linear, box-shadow .3s ease; }

.hz-card__num {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	font-family: var(--hz-display); font-weight: 700; font-size: 13px; letter-spacing: .08em;
	color: #fff; background: rgba(21, 29, 22, .55); backdrop-filter: blur(6px);
	padding: 6px 11px; border-radius: 999px;
}
.hz-card__media { position: relative; }
.hz-card__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, transparent 55%, rgba(21, 29, 22, .35));
	opacity: 0; transition: opacity .4s;
}
.hz-card:hover .hz-card__media::after { opacity: 1; }
.hz-card__title { transition: color .25s; }
.hz-card:hover .hz-card__title { color: var(--hz-olive); }

/* соцмережі: іконка «підстрибує» */
.hz-social__icon { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.hz-social:hover .hz-social__icon { transform: rotate(-8deg) scale(1.1); }

/* партнери: логотипи сірі → кольорові */
.hz-partner__logo img { filter: grayscale(1); opacity: .72; transition: filter .4s, opacity .4s, transform .5s var(--hz-ease); }
.hz-partner:hover .hz-partner__logo img { filter: none; opacity: 1; transform: scale(1.06); }
@media (hover: none) { .hz-partner__logo img { filter: none; opacity: 1; } }

/* особливості: іконка обертається */
.hz-features li > .hz-icon { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.hz-features li:hover > .hz-icon { transform: rotate(-14deg) scale(1.12); }
.hz-features li { transition: border-color .3s, transform .3s var(--hz-ease); }
.hz-features li:hover { border-color: var(--hz-yellow); transform: translateY(-3px); }

/* вироби: zoom фото + підсвітка рядків характеристик */
.hz-product { transition: box-shadow .4s; }
.hz-product:hover { box-shadow: var(--hz-shadow-lg); }
.hz-product .hz-gallery__item img { transition: transform 1.2s var(--hz-ease); }
.hz-product:hover .hz-gallery__item img { transform: scale(1.04); }
.hz-specs > div { transition: background-color .2s, padding .25s var(--hz-ease); }
.hz-specs > div:hover { background: var(--hz-sand); padding-inline: 10px; }

/* преса */
.hz-press__media { position: relative; }
.hz-press__media::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: inset 0 0 0 0 var(--hz-yellow); transition: box-shadow .3s;
}
.hz-press__item:hover .hz-press__media::after { box-shadow: inset 0 0 0 4px var(--hz-yellow); }

/* CTA: «дихаюче» світло */
.hz-cta__inner { overflow: hidden; }
.hz-cta__inner > * { position: relative; z-index: 1; }
.hz-cta__inner::after {
	content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; z-index: 0; pointer-events: none;
	background: radial-gradient(circle, rgba(255, 210, 63, .35), transparent 65%);
	animation: hz-breathe 6s ease-in-out infinite alternate;
}
@keyframes hz-breathe { to { transform: translate(-80px, 60px) scale(1.25); opacity: .6; } }

/* ---------- Шапка внутрішніх сторінок: дрейф камуфляжу ---------- */

.hz-pagehead::before { inset: -10%; animation: hz-drift 40s ease-in-out infinite alternate; }
@keyframes hz-drift { to { transform: translate(-4%, 3%) scale(1.08); } }
.hz-w { max-width: 100%; }

/* ---------- Галереї: курсор, zoom, перетягування ---------- */

.hz-gallery__item { cursor: zoom-in; position: relative; }
.hz-gallery__item img { transition: transform .8s var(--hz-ease); }
.hz-gallery__item:hover img { transform: scale(1.06); }
.hz-gallery__item::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, transparent 60%, rgba(21, 29, 22, .45));
	opacity: 0; transition: opacity .3s;
}
.hz-gallery__item:hover::after { opacity: 1; }
.hz-gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hz-gallery__track.is-dragging img { pointer-events: none; }

/* ---------- Лайтбокс ---------- */

.hz-lightbox {
	position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
	background: rgba(8, 11, 8, .92); backdrop-filter: blur(8px);
	opacity: 0; transition: opacity .25s ease;
}
.hz-lightbox[hidden] { display: none; }
.hz-lightbox.is-open { opacity: 1; }
.hz-lightbox img {
	max-width: min(92vw, 1400px); max-height: 84vh; width: auto !important; height: auto !important; object-fit: contain;
	border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
	transform: scale(.94); transition: transform .35s var(--hz-ease), filter .3s;
	filter: blur(2px);
}
.hz-lightbox.is-open img { transform: none; }
.hz-lightbox img.is-loaded { filter: none; }
.hz-lightbox button {
	position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff;
	transition: background-color .2s, transform .2s;
}
.hz-lightbox button:hover { background: var(--hz-yellow); color: var(--hz-ink); transform: scale(1.06); }
.hz-lightbox__close { top: calc(18px + var(--hz-top)); right: 18px; }
.hz-lightbox__nav--prev { left: 18px; top: calc(50% - 26px); }
.hz-lightbox__nav--next { right: 18px; top: calc(50% - 26px); }
.hz-lightbox__count {
	position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
	color: rgba(255, 255, 255, .75); font-weight: 700; font-size: 14px; letter-spacing: .1em;
}
@media (max-width: 640px) { .hz-lightbox__nav { top: auto !important; bottom: 12px; } }

/* ---------- Реквізити: копіювання з галочкою ---------- */

.hz-req__icons { position: relative; width: 22px; height: 22px; flex: none; }
.hz-req__icons .hz-icon { position: absolute; inset: 0; width: 22px; height: 22px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }
.hz-req__ok { opacity: 0; transform: scale(.4); color: #3ddc84 !important; }
.hz-req__value.is-copied { border-color: #3ddc84; background: rgba(61, 220, 132, .1); }
.hz-req__value.is-copied .hz-req__copy { opacity: 0; transform: scale(.4); }
.hz-req__value.is-copied .hz-req__ok { opacity: 1; transform: none; }

/* ---------- Кнопка «нагору» з кільцем прогресу ---------- */

.hz-totop {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
	border: 0; cursor: pointer; display: grid; place-items: center;
	background: var(--hz-ink); color: #fff; box-shadow: var(--hz-shadow-lg);
	opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
	transition: opacity .3s, transform .3s var(--hz-ease), background-color .2s;
}
.hz-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.hz-totop:hover { background: var(--hz-olive); }
.hz-totop > .hz-icon { transform: rotate(-90deg); width: 20px; height: 20px; position: relative; }
.hz-totop svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hz-totop circle { fill: none; stroke: var(--hz-yellow); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }

/* ---------- Мобільна панель донату ---------- */

.hz-dock { display: none; }
@media (max-width: 760px) {
	.hz-totop { display: none; }
	.hz-dock {
		position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 95;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 10px 10px 18px; border-radius: 20px;
		background: rgba(21, 29, 22, .96); color: #fff !important; text-decoration: none !important;
		box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
		transform: translateY(140%); transition: transform .45s var(--hz-ease);
	}
	.hz-dock.is-visible { transform: none; }
	.hz-dock__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
	.hz-dock__text b { font-size: 15px; }
	.hz-dock__text span { font-size: 12px; color: rgba(255, 255, 255, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.hz-dock .hz-btn { padding: 11px 16px; font-size: 14px; flex: none; }
	.hz-footer { padding-bottom: 80px; }
}

/* ---------- Виділення тексту ---------- */

.hz ::selection { background: var(--hz-yellow); color: var(--hz-ink); }

/* ---------- Менше руху — для тих, хто просить ---------- */

@media (prefers-reduced-motion: reduce) {
	.hz-w > span, .hz-hero .hz-eyebrow, .hz-hero__lead, .hz-hero__actions, .hz-pagehead__lead,
	.hz-marquee__group, .hz-pagehead::before, .hz-cta__inner::after, .hz-btn--donate::after, .hz-btn--donate .hz-icon { animation: none !important; }
	[data-tilt] { transform: none !important; }
}

/* ---------- Галереї: перетягування і плавне завантаження фото ---------- */

.hz-gallery__track { cursor: grab; overscroll-behavior-x: contain; }
.hz-gallery__track.is-dragging,
.hz-gallery__track.is-gliding { scroll-snap-type: none; }
.hz-gallery__track.is-dragging { cursor: grabbing; }
.hz-gallery__track.is-dragging .hz-gallery__item img { transform: none; }
.hz-gallery__item img { -webkit-user-drag: none; user-select: none; }

.hz-js .hz-gallery__item {
	background: linear-gradient(100deg, var(--hz-line) 30%, #efebe0 50%, var(--hz-line) 70%) 0 0 / 300% 100%;
	animation: hz-shimmer 1.4s linear infinite;
}
.hz-js .hz-gallery--dark .hz-gallery__item { background-image: linear-gradient(100deg, #1f2b20 30%, #2a382b 50%, #1f2b20 70%); }
.hz-js .hz-gallery__item img { opacity: 0; transition: opacity .5s ease, transform .8s var(--hz-ease); }
.hz-js .hz-gallery__item.is-loaded { animation: none; }
.hz-js .hz-gallery__item.is-loaded img { opacity: 1; }
@keyframes hz-shimmer { to { background-position: -300% 0; } }
@media (hover: none) { .hz-gallery__track { cursor: auto; } }
