/* =========================================================
   БФ «ПЛАТОН» — дизайн-мова у стилі prytulafoundation.org
   (типографіка, картки, пігулки-кнопки), контент — реальні
   дані фонду. (2026-09-17)
   ========================================================= */

:root {
  --ink: #0b0b0f;
  --accent: #4b3ff2;
  --accent-deep: #372cc9;
  --bg: #ffffff;
  --bg-soft: #f4f4f8;
  --dark: #0b0b0f;
  --dark-soft: #1c1c24;
  --muted: #6b6b76;
  --line: #e6e6ec;
  --line-dark: rgba(255, 255, 255, .14);
  --success: #1e8e5a;
  --danger: #c0433c;
  --gradient: linear-gradient(135deg, #dfe0fb 0%, #e9eefb 45%, #e7f3ec 100%);

  --f-sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --page: 1180px;
  --radius: 20px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

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

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--f-sans);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 300;
}
.skip-link:focus { left: 16px; top: 16px; }

.eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow--onDark { color: #a9a0ff; }

.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-title--onDark { color: #fff; font-weight: 800; font-size: 1.2rem; }

.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--muted);
}
.band--dark .section-intro { color: #b7b7c4; }

/* =========================================================
   Смуги секцій
   ========================================================= */
.band { padding: 72px 0; }
.band--dark { background: var(--dark); color: #f2f2f5; }
.band--dark h2 { color: #fff; }
.band[hidden] { display: none; }

/* =========================================================
   Кнопки (чорні/контурні пігулки, стрілка як у Притули)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1;
  padding: 16px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.34,1.4,.64,1), box-shadow .16s ease, background-color .16s ease, opacity .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .06s; }
.btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }

.btn--black { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--black:hover:not(:disabled) { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 8px 20px rgba(75, 63, 242, .28); }

.btn--outline-black { background: transparent; color: var(--ink); border-color: var(--ink); }
.band--dark .btn--outline-black { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-black:hover { background: rgba(11,11,15,.06); }
.band--dark .btn--outline-black:hover { background: rgba(255,255,255,.1); }

.btn--sm { padding: 11px 18px; font-size: .86rem; }

.btn__arrow { font-size: 1.05em; line-height: 1; }

/* =========================================================
   Шапка
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(11,11,15,0);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11,11,15,.06); }

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.nav__brand-mark { height: 46px; width: auto; display: block; transition: transform .2s cubic-bezier(.22,1,.36,1), opacity .2s ease; }
.nav__brand:hover .nav__brand-mark { transform: scale(1.05); opacity: .92; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav__toggle { display: none; }

#nav-toggle.is-open { background: var(--ink); color: #fff; }

.nav__mobile-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 90;
  padding: 96px 28px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.nav__mobile-panel.is-open { transform: translateX(0); }
.nav__mobile-panel[hidden] { display: none; }

.nav__mobile-links { list-style: none; margin: 0; padding: 0; }
.nav__mobile-links a {
  display: block;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 28px 0 0; }

.hero__banner {
  background: var(--gradient);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 60px);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--accent-deep, var(--accent));
}

.hero__headline {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 900;
  color: var(--ink);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Напрямки діяльності
   ========================================================= */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.direction-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: border-color .16s ease, transform .16s ease;
}
.direction-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.direction-card__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent);
}
.direction-card__icon svg { width: 26px; height: 26px; }

.direction-card h3 { margin-bottom: 10px; }
.direction-card p { color: var(--muted); margin: 0; }

/* =========================================================
   Чому «ПЛАТОН»?
   ========================================================= */
.why-card {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 40px clamp(24px, 5vw, 56px);
  max-width: 900px;
  margin: 0 auto;
}
.why-card .section-title { text-align: left; }
.why-card p { color: var(--ink); }

.pull-quote {
  margin: 24px 0 0;
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.55);
  border-radius: 0 14px 14px 0;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}
.pull-quote::before { content: "«"; }
.pull-quote::after { content: "»"; }

/* =========================================================
   Акордеон (Дії / FAQ) — рядок + шеврон, як FAQ у Притули
   ========================================================= */
.accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  background: var(--bg-soft);
  border-radius: 16px;
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 20px 22px;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.accordion__chevron {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .2s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.22, 1, .36, 1);
}
.accordion__panel-inner {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}

/* =========================================================
   Партнери
   ========================================================= */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.partner-card {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-card img { max-height: 40px; width: auto; }

/* =========================================================
   Ваша підтримка рятує життя
   ========================================================= */
.donate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.liqpay-card {
  background: var(--dark-soft);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
}
.liqpay-card h3 { color: #fff; margin-bottom: 10px; }
.liqpay-card p { color: #b7b7c4; font-size: .92rem; }

.liqpay-amount-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0 12px;
  transition: border-color .16s ease, background-color .16s ease;
}
.liqpay-amount-row:focus-within { border-color: var(--accent); background: rgba(255,255,255,.09); }

.liqpay-amount-prefix { font-size: 2rem; font-weight: 800; color: #fff; }
.liqpay-amount {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  font-family: var(--f-sans);
  padding: 0;
  transition: transform .16s ease;
}
.liqpay-amount.is-bumped { transform: scale(1.06); }
.liqpay-amount.is-shaking { animation: liqpay-shake .4s ease; }
@keyframes liqpay-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.liqpay-currency { font-size: .9rem; font-weight: 700; color: #b7b7c4; flex-shrink: 0; }

.liqpay-quick-amounts { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.liqpay-quick-amounts button {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s cubic-bezier(.34,1.4,.64,1);
}
.liqpay-quick-amounts button:hover { background: rgba(255,255,255,.1); border-color: var(--accent); }
.liqpay-quick-amounts button:active { transform: scale(.94); }

.liqpay-submit { width: 100%; }

.requisites-block {
  border-radius: var(--radius);
  transition: box-shadow .3s ease;
  min-width: 0;
}
.requisites-block.is-highlighted {
  animation: requisites-pulse 1.4s ease;
}
@keyframes requisites-pulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 63, 242, .45); }
  30% { box-shadow: 0 0 0 10px rgba(75, 63, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 63, 242, 0); }
}

.requisites-list { display: grid; gap: 10px; }

.requisite-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-soft);
  border-radius: 14px;
  padding: 14px 16px;
  flex-wrap: wrap;
}
.requisite-row__currency {
  font-weight: 800;
  color: #a9a0ff;
  font-size: .82rem;
  min-width: 44px;
}
.requisite-row__account {
  flex: 1 1 200px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88rem;
  color: #fff;
  word-break: break-all;
}

.copy-btn {
  font-family: var(--f-sans);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, transform .16s cubic-bezier(.34,1.4,.64,1);
}
.copy-btn:hover { background: #e9e9f2; }
.copy-btn:active { transform: scale(.96); transition-duration: .06s; }
.copy-btn.is-copied { background: var(--success); color: #fff; animation: copy-pop .32s cubic-bezier(.34,1.4,.64,1); }
.copy-btn.is-error { background: var(--danger); color: #fff; }

@keyframes copy-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.copy-feedback {
  font-size: .78rem;
  color: #b7b7c4;
  min-height: 1.1em;
  margin-top: 4px;
  flex-basis: 100%;
}

.bank-info-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.bank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .06);
  color: #b7b7c4;
  font-family: var(--f-sans);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.bank-pill:hover { background: rgba(255,255,255,.12); color: #fff; }
.bank-pill.is-copied { background: var(--success); color: #fff; }

/* =========================================================
   Зворотний зв'язок
   ========================================================= */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}
.required-mark { color: var(--danger); }

.form-field input,
.form-field textarea {
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 400;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }

.contact-form .btn { align-self: flex-start; }

/* =========================================================
   Як отримати допомогу
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.step-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .92rem; }
.step-card a { color: var(--accent); font-weight: 700; }

.step-card__links {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-card__links a {
  font-size: .88rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
}
.step-card__links a:hover { border-color: var(--accent); }
.step-card__links[hidden] { display: none; }

.step-card__checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-card__checklist li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: .9rem;
}
.step-card__checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   Месенджери
   ========================================================= */
.band--messengers { text-align: center; }
.messenger-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.34,1.4,.64,1);
}
.messenger-btn:hover { transform: translateY(-2px); }
.messenger-btn--telegram { background: #29a9eb; }
.messenger-btn--whatsapp { background: #25c05a; }
.messenger-btn--viber { background: #7b5fc4; }

/* =========================================================
   Підвал
   ========================================================= */
.site-footer {
  background: var(--dark);
  color: #b7b7c4;
  padding: 36px 0;
}

.footer-grid { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.footer-brand-mark { height: 42px; width: auto; transition: transform .2s cubic-bezier(.22,1,.36,1), opacity .2s ease; }
.footer-brand:hover .footer-brand-mark { transform: scale(1.05); opacity: .92; }

.footer-documents-link {
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line-dark);
  padding-bottom: 2px;
}
.footer-documents-link a { color: inherit; text-decoration: none; }
.footer-documents-link:hover { border-color: #fff; }

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  align-items: center;
  font-size: .82rem;
}

/* =========================================================
   Модальне вікно QR
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 15, .68);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
  opacity: 0;
  transition: opacity .18s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-visible { opacity: 1; }

.modal {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 38px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  transition: opacity .18s ease, transform .2s cubic-bezier(.34,1.4,.64,1);
}
.modal-overlay.is-visible .modal { opacity: 1; transform: translateY(0) scale(1); }

.modal h3 { margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: .92rem; }

.modal__close {
  position: absolute;
  top: 8px; right: 10px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
}
.modal__close:hover { color: var(--ink); }

.modal img { width: 100%; max-width: 220px; margin: 20px auto 0; border-radius: 12px; border: 1px solid var(--line); }

/* =========================================================
   Політика конфіденційності (privacy.html)
   ========================================================= */
.privacy-page { background: var(--bg); }
.privacy-page .container { max-width: 700px; padding-top: 60px; padding-bottom: 90px; }
.privacy-page h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 30px; }
.privacy-page h2 { font-size: 1.15rem; margin: 2em 0 .6em; }
.privacy-page p { color: var(--muted); }
.privacy-page a { color: var(--accent); }

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 2px;
}
.back-link:hover { border-color: var(--accent); }

/* =========================================================
   Кнопка "Нагору"
   ========================================================= */
.back-to-top {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, background-color .16s ease;
  pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent-deep); }

/* =========================================================
   Адаптивність
   ========================================================= */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .directions-grid { grid-template-columns: 1fr; }
  .donate-panel { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 76px; }
  .band { padding: 52px 0; }
  .container { padding: 0 18px; }

  .nav { height: 68px; }
  .nav__brand-mark { height: 38px; }

  .hero { padding: 20px 0 0; }
  .hero__banner { border-radius: 22px; padding: 32px 16px; }

  .why-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .liqpay-quick-amounts { flex-direction: column; }
  .liqpay-quick-amounts button { width: 100%; }
  .messenger-row { flex-direction: column; align-items: stretch; }
}
