@font-face {
  font-family: "e-Ukraine Head";
  src: url("public/fonts/e-Ukraine Head/e-UkraineHead-Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine Head";
  src: url("public/fonts/e-Ukraine Head/e-UkraineHead-Medium.otf")
    format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine Head";
  src: url("public/fonts/e-Ukraine Head/e-UkraineHead-Bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --content-max: 1440px;
  --page-max: 2560px;
  --inner-max: 1280px;
  --gutter-min: 24px;
  --gutter-max: 80px;
  --gutter: clamp(var(--gutter-min), 5.555vw, var(--gutter-max));
  --color-bg: #fff;
  --color-text: #2d2622;
  --color-hero-overlay: #2b1a10;
  --color-cream: #f9f8f7;
  --color-about: #f3efed;
  --color-donation: #e9e3df;
  --color-footer: #2d2622;
  --color-label: #67564d;
  --color-muted: #937c6f;
  --color-header-btn: #fbd400;
  --color-header-btn-hover: #f9f8f7;
  --header-sticky-shadow:
    0 12px 48px -4px rgba(45, 38, 34, 0.07), 0 4px 24px 0 rgba(45, 38, 34, 0.16);
  --slider-transition: 0.5s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 390px;
  scroll-behavior: smooth;
}

body {
  min-width: 390px;
  font-family: "Inter", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

.page-shell {
  width: 100%;
  min-width: 390px;
  max-width: var(--page-max);
  margin-inline: auto;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-inner {
  width: 100%;
  max-width: var(--inner-max);
  margin-inline: auto;
}

.section-block {
  width: 100%;
  scroll-margin-top: 72px;
}

.label {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-label);
  line-height: 16.5px;
  margin-bottom: 16px;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 71vw, 1024px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 96% 167% at 50% 93%,
    rgba(92, 61, 39, 0.1) 0%,
    rgba(92, 61, 39, 0) 100%
  );
}

/*.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 120px;
  background: var(--color-footer);
  /* prevent iOS Safari from clipping fixed elements during scroll */
/* -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition:
    height 0.3s ease,
    box-shadow 0.3s ease;
}*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 100px;
  background: transparent;
  transition:
    height 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/*.header.is-sticky {
  height: 72px;
  box-shadow: 0 2px 20px rgba(43, 26, 16, 0.25);
}*/

.header.is-sticky {
  border-radius: 16px;
  background: var(--color-cream);
  box-shadow: var(--header-sticky-shadow);
}

.header.is-sticky .header__inner {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  min-height: 0;
}

.header.is-sticky .header-logo--full {
  display: none;
}

.header.is-sticky .header-logo--compact {
  display: block;
}

.header.is-sticky .header__brand-name {
  display: block;
}

.header.is-sticky .lang {
  color: var(--color-text);
}

.header.is-sticky .btn-primary-nav {
  height: 48px;
  min-width: 0;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 600;
  background: var(--color-header-btn);
  color: var(--color-text);
}

.header.is-sticky .btn-primary-nav:hover,
.header.is-sticky .btn-primary-nav:focus-visible,
.header.is-sticky .btn-primary-nav.is-tap-active {
  background: var(--color-text);
  color: var(--color-cream);
}

.header__inner {
  width: 100%;
  max-width: var(--content-max);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-radius 0.3s ease,
    padding 0.3s ease;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.header__brand-name {
  display: none;
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: var(--color-text);
  max-width: 300px;
}

.header-logo {
  display: block;
  flex-shrink: 0;
}

.header-logo--full {
  height: clamp(48px, 5vw, 72px);
  width: auto;
  max-width: min(322px, 55vw);
}

.header-logo--full img {
  height: 100%;
  width: auto;
  max-width: min(322px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.header-logo--compact {
  display: none;
  width: 52px;
  height: 52px;
}

.header-logo--compact img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  flex-shrink: 0;
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cream);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 20px;
  white-space: nowrap;
}

.lang__link {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.lang__link:hover,
.lang__link:focus-visible {
  opacity: 1;
}

.lang__link--active {
  opacity: 1;
  font-weight: 700;
}

.lang__sep {
  opacity: 0.6;
}

.btn-primary-nav {
  background: var(--color-header-btn);
  color: var(--color-text);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  padding: clamp(10px, 1.2vw, 14px) clamp(16px, 2vw, 24px);
  border-radius: 24px;
  border: none;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn-primary-nav:hover,
.btn-primary-nav:focus-visible,
.btn-primary-nav.is-tap-active {
  background: var(--color-header-btn-hover);
  color: var(--color-text);
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
  padding-inline: var(--gutter);
  z-index: 2;
}

.hero-title {
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.15;
  color: var(--color-cream);
  text-align: center;
  max-width: 962px;
  text-shadow: 0 2px 40px rgba(43, 26, 16, 0.55);
}

.hero-sub {
  color: var(--color-cream);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  opacity: 0.88;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 20px rgba(43, 26, 16, 0.4);
}

.hero-quote-ref {
  font-size: 18px !important;
  font-weight: 400 !important;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-white {
  background: var(--color-cream);
  color: var(--color-hero-overlay);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  height: 56px;
  padding-inline: clamp(20px, 2.5vw, 24px);
  border-radius: 28px;
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn-white:hover,
.btn-white:focus-visible,
.btn-white.is-tap-active {
  background: var(--color-text);
  color: var(--color-cream);
}

a[href="#donation"] {
  background: var(--color-header-btn);
  color: var(--color-text);
}

a[href="#donation"]:hover,
a[href="#donation"]:focus-visible,
a[href="#donation"].is-tap-active {
  background: var(--color-header-btn-hover);
  color: var(--color-text);
}

.btn-ghost {
  background: transparent;
  color: var(--color-cream);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  height: 56px;
  padding-inline: clamp(20px, 2.5vw, 24px);
  border-radius: 28px;
  border: 1.5px solid var(--color-cream);
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible,
.btn-ghost.is-tap-active {
  background: var(--color-cream);
  color: var(--color-text);
  border-color: var(--color-cream);
}

/* About */
.about {
  background: var(--color-about);
  padding-block: clamp(64px, 10vw, 120px);
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 48px);
}

.about-text {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 694px;
}

.about-title {
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--color-text);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-paragraphs p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  color: var(--color-text);
}

.about-image,
.about-video {
  flex: 1 1 280px;
  width: 100%;
  max-width: 556px;
  aspect-ratio: 556 / 371;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  align-self: center;
}

.about-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: transparent;
}

.about-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-video__poster .tint {
  position: absolute;
  inset: 0;
  background: rgba(43, 26, 16, 0.08);
  pointer-events: none;
}

.about-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-video__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-video.is-playing .about-video__poster {
  display: none;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 1;
}

.play-btn img {
  width: 100%;
  height: 100%;
}

/* Vision */
/* Vision grid (2×2 static layout) */
.vision-grid {
  background: var(--color-bg);
  padding-block: clamp(64px, 10vw, 120px);
}

.vision-grid .container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.vision-grid__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vision-grid__item {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 620 / 420;
  background: var(--color-about);
}

.vision-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vision slider */
.vision {
  background: var(--color-about);
  padding-block: 120px;
}

.vision .container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.vision-title {
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.48px;
  color: var(--color-text);
  line-height: 1.2;
  max-width: 1274px;
}

.slider-wrap {
  width: 100%;
}

/* Vision CSS slider */
.vision-slider {
  width: 100%;
}

.vision-slider__viewport {
  width: 100%;
  aspect-ratio: 1280 / 600;
  max-height: 600px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.vision-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform var(--slider-transition);
  will-change: transform;
}

.vision-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.vision-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

#progress .slider-wrap {
  max-width: var(--inner-max);
}

#progress .vision-slider__viewport {
  aspect-ratio: 1280 / 600;
  max-height: 600px;
}

.vision-slider__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(43, 26, 16, 0.2) 0%,
    rgba(43, 26, 16, 0) 22%,
    rgba(43, 26, 16, 0) 78%,
    rgba(43, 26, 16, 0.2) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* .vision-slider__dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
} */

.vision-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cec7be;
  border: none;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.vision-slider__dot:hover,
.vision-slider__dot:focus-visible {
  background: #584b44;
  transform: scale(1.15);
}

.vision-slider__dot.is-active {
  background: var(--color-text);
  transform: scale(1.15);
}

.slider-nav {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  padding-top: 8px;
  width: 100%;
}

.slider-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 4px;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.slider-nav__btn:hover {
  opacity: 1;
}

.slider-nav__btn:hover img,
.slider-nav__btn:focus-visible img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(12%) saturate(724%)
    hue-rotate(337deg) brightness(89%) contrast(86%);
}

.slider-nav__btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.slider-nav__btn img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Donation */
.donation {
  background: var(--color-donation);
  padding-block: 120px;
}

.donation .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
}

.donation-heading {
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -1px;
  text-align: center;
  color: var(--color-text);
  max-width: 1130px;
  line-height: 1.2;
}

.donation-card {
  width: 100%;
  max-width: var(--inner-max);
  background: var(--color-cream);
  border-radius: 20px;
  padding: 48px;
  box-shadow:
    0 2px 4px rgba(43, 26, 16, 0.04),
    0 12px 24px rgba(43, 26, 16, 0.07);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.donation-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  min-height: 110px;
}

.stat-block.goal {
  text-align: right;
}

.stat-label {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2px;
  color: #7a665b;
}

.stat-label.goal {
  color: #7a665b;
}

.stat-amount {
  font-weight: 800;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--color-text);
}

.stat-amount.goal {
  color: #937c6f;
}

.progress-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stages-row {
  display: grid;
  grid-template-columns: 41.385% 21.368% 23.733% 13.514%;
  width: 100%;
  column-gap: 0;
}

.stage {
  text-align: start;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  min-width: 0;
}

.stage.s1 {
  color: var(--color-text);
}

.stage.s2 {
  color: var(--color-text);
}

.stage.s3,
.stage.s4 {
  color: #937c6f;
}

.progress-track {
  width: 100%;
  height: 20px;
  background: #d9cec8;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 47.973%;
  height: 20px;
  background: var(--color-text);
  border-radius: 999px;
}

.progress-divider {
  position: absolute;
  top: 0;
  width: 2px;
  height: 20px;
  background: var(--color-cream);
}

.progress-divider.d1 {
  left: 41.385%;
}

.progress-divider.d2 {
  left: 62.753%;
}

.progress-divider.d3 {
  left: 86.486%;
}

.payment-cta {
  margin-top: 56px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-label);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.payment-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pay-btn {
  padding: 16px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1.5px solid #c2b0a7;
  color: #a48c7f;
  background: transparent;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.pay-btn.active {
  background: #584b44;
  border-color: #584b44;
  color: var(--color-cream);
}

@media (hover: hover) and (pointer: fine) {
  .pay-btn:hover,
  .pay-btn.active:hover {
    background: #584b44;
    border-color: #584b44;
    color: var(--color-cream);
  }
}

.pay-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.pay-btn.active:focus-visible {
  background: #584b44;
  border-color: #584b44;
  color: var(--color-cream);
}

#payment-value {
  text-decoration: none;
}

.divider {
  display: none;
  width: 100%;
  height: 1px;
  background: #d9cec8;
  margin-top: clamp(24px, 4vw, 40px);
}

.divider:not([hidden]) {
  display: block;
}

.wise-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 24px) 16px 0;
  border-radius: 999px;
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 20px);
  color: #584b44;
  word-break: break-all;
}

.wise-row:not([hidden]) {
  display: flex;
}

.wise-row strong {
  font-weight: 600;
}

.wise-row > span {
  min-width: 0;
}

.payment-paypal-note,
.payment-info-note {
  display: none;
  margin-top: 12px;
  padding: clamp(16px, 3vw, 24px) clamp(16px, 3vw, 16px) clamp(16px, 3vw, 24px)
    0;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.5;
  color: #584b44;
}

.payment-paypal-note.is-visible,
.payment-info-note:not([hidden]) {
  display: block;
}

.payment-info-note p + p,
.payment-info-note p + ul {
  margin-top: 12px;
}

.payment-info-note__title {
  font-size: clamp(15px, 1.9vw, 19px);
  font-weight: 600;
}

.swift-copy-hint {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  color: #584b44;
}

.swift-note__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.swift-note__col--main,
.swift-note__col--corr {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.swift-copy-section-title {
  margin-top: 0;
  font-weight: 600;
}

.swift-copy-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swift-copy-field__label {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  color: #584b44;
}

.swift-copy-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.swift-copy-row__value {
  flex: 1;
  min-width: 0;
  color: #7a665b;
  word-break: break-word;
}

.swift-copy-row--bank-name {
  align-items: center;
}

.swift-corr-bank {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swift-corr-bank__name {
  flex: 1;
  min-width: 0;
  font-weight: 400;
  color: #7a665b;
  word-break: break-word;
}

@media (min-width: 1400px) {
  .swift-note__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .swift-copy-section-title {
    text-transform: uppercase;
  }

  #payment-swift-note .payment-info-note__list {
    padding-left: 0;
    list-style: none;
    gap: 0;
  }

  .swift-corr-bank + .swift-corr-bank {
    padding-top: 24px;
  }

  .swift-corr-bank:not(:last-child) {
    border-bottom: 1px solid #b6a399;
    padding-bottom: 24px;
  }
}

.payment-check-note__heading {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

.payment-info-note__list {
  margin-top: 8px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-info-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.payment-info-note a:hover,
.payment-info-note a:focus-visible {
  color: var(--color-text);
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 4px;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.copy-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .copy-btn:hover {
    opacity: 1;
  }

  .copy-btn:hover img {
    filter: brightness(0) saturate(100%) invert(59%) sepia(12%) saturate(724%)
      hue-rotate(337deg) brightness(89%) contrast(86%);
  }
}

.copy-btn img {
  width: 32px;
  height: 32px;
}

.copy-btn--sm {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.copy-btn--sm img {
  width: 18px;
  height: 18px;
}

.copy-btn.is-copied {
  opacity: 1;
}

/* News */
.news {
  background: var(--color-cream);
  padding-block: clamp(64px, 10vw, 120px);
}

.news .container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.news-slider {
  width: 100%;
}

.news-slider__viewport {
  width: 100%;
  overflow: hidden;
}

.news-slider__track {
  display: flex;
  gap: 40px;
  transition: transform var(--slider-transition);
  will-change: transform;
}

.news-card {
  flex: 0 0 calc((100% - 80px) / 3);
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: 24px;
  overflow: hidden;
}

.news-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-card__date {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-label);
}

.news-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
}

.news-card__text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.4;
}

.news-nav {
  margin-top: 8px;
}

.slider-nav__btn:disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

.slider-nav__btn:disabled img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(12%) saturate(724%)
    hue-rotate(337deg) brightness(89%) contrast(86%);
}

/* Footer */
.footer {
  background: var(--color-footer);
  padding-block: clamp(64px, 10vw, 100px);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.footer-logo {
  width: 100%;
  max-width: 274px;
  height: auto;
}

.footer-logo picture,
.footer-logo img {
  display: none;
}

.footer-logo-name {
  display: block;
  font-family: "e-Ukraine Head", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-cream);
  letter-spacing: 0;
}

.footer-col {
  min-width: 0;
}

.footer-col.address {
  max-width: 324px;
}

.footer-col h3 {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.footer-col p {
  font-size: 16px;
  line-height: 25.5px;
  color: var(--color-cream);
  letter-spacing: 0.2px;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover {
    color: var(--color-muted);
  }
}

.footer-col a:focus-visible {
  outline: 2px solid var(--color-muted);
  outline-offset: 2px;
}

.footer-col.contacts .list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-muted);
  padding-top: 24px;
  color: var(--color-muted);
  font-size: 14px;
  letter-spacing: 0.6px;
}

@media (min-width: 1440px) {
  :root {
    --gutter: 80px;
  }
}

@media (max-width: 1023px) {
  .vision-slider__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  .stat-amount {
    font-size: 48px;
  }

  .vision-slider__viewport::-webkit-scrollbar {
    display: none;
  }

  .vision-slider__track {
    transform: none !important;
    transition: none;
  }

  /* .vision-slider__dots {
    display: flex;
  } */

  .news-slider__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .news-slider__viewport::-webkit-scrollbar {
    display: none;
  }

  .news-slider__track {
    transform: none !important;
    transition: none;
  }

  .news-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 799px) {
  .header {
    position: absolute;
    height: calc(84px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-cream);
    box-shadow: var(--header-sticky-shadow);
  }

  .header.is-sticky .header__inner {
    border-radius: 0;
    box-shadow: none;
  }

  .header.is-sticky .header__brand-name {
    display: none;
  }

  .header.is-sticky .header-logo--full {
    display: none;
  }

  .header.is-sticky .header-logo--compact {
    display: block;
  }

  .header.is-sticky .lang {
    color: var(--color-text);
  }

  .header.is-sticky .btn-primary-nav {
    background: var(--color-header-btn);
    color: var(--color-text);
  }

  .header.is-sticky .btn-primary-nav:hover,
  .header.is-sticky .btn-primary-nav:focus-visible {
    background: var(--color-header-btn-hover);
    color: var(--color-text);
  }

  .section-block {
    scroll-margin-top: 0;
  }

  .section-block {
    scroll-margin-top: 0;
  }

  .header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-inline: 16px;
    padding-block: 16px;
    gap: 12px;
  }

  .header__brand {
    order: 1;
    gap: 0;
    flex: 0 0 52px;
  }

  .header-logo--full {
    height: 52px;
    max-width: 52px;
    flex: 0 0 52px;
  }

  .header-logo--full img {
    max-width: 100%;
    height: 52px;
  }

  .header-right {
    display: contents;
  }

  .btn-primary-nav {
    order: 2;
    height: 48px;
    padding: 14px 24px;
    font-size: 18px;
    min-width: 0;
    flex: 0 0 auto;
  }

  .btn-primary-nav:hover,
  .btn-primary-nav:focus-visible {
    background: var(--color-header-btn-hover);
    color: var(--color-text);
  }

  .btn-primary-nav.is-tap-active {
    background: var(--color-header-btn-hover);
    color: var(--color-text);
  }

  .lang {
    order: 3;
    font-size: 16px;
    gap: 4px;
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .footer {
    padding-block: 40px;
  }

  .footer .container {
    padding-inline: 16px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    top: 54%;
  }

  .hero-quote-ref {
    font-size: 14px !important;
    line-height: 1.4;
  }

  .slider-nav__btn:hover img,
  .slider-nav__btn:focus-visible img {
    filter: none;
  }

  .slider-nav__btn:active img {
    filter: brightness(0) saturate(100%) invert(59%) sepia(12%) saturate(724%)
      hue-rotate(337deg) brightness(89%) contrast(86%);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-white:hover,
  .btn-white:focus-visible {
    background: var(--color-cream);
    color: var(--color-hero-overlay);
  }

  a[href="#donation"]:hover,
  a[href="#donation"]:focus-visible,
  a[href="#donation"].is-tap-active {
    background: var(--color-header-btn-hover);
    color: var(--color-text);
  }

  .btn-ghost:hover,
  .btn-ghost:focus-visible {
    background: transparent;
    color: var(--color-cream);
    border-color: var(--color-cream);
  }

  .btn-white.is-tap-active {
    background: var(--color-text);
    color: var(--color-cream);
  }

  .btn-ghost.is-tap-active {
    background: var(--color-cream);
    color: var(--color-text);
    border-color: var(--color-cream);
  }

  .btn-white,
  .btn-ghost {
    width: 100%;
    max-width: 320px;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-text {
    max-width: none;
  }

  .about-image {
    max-width: none;
    margin-top: 0;
  }

  .vision-grid__images {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vision-grid__item {
    border-radius: 16px;
  }

  .vision {
    padding-block: 24px 40px;
  }

  #progress .slider-wrap {
    max-width: none;
  }

  #progress .vision-slider__viewport {
    aspect-ratio: 620 / 420;
    max-height: none;
  }

  .donation {
    padding-block: 24px 80px;
  }

  .donation .container {
    gap: 24px;
    padding-inline: 16px;
  }

  .donation-heading {
    width: 100%;
    max-width: 358px;
    font-size: 32px;
    line-height: 1.25;
    text-align: left;
  }

  .donation-card {
    width: 100%;
    max-width: 358px;
    padding: 24px;
    gap: 24px;
  }

  .donation-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 60px;
    gap: 16px;
  }

  .stat-block.goal {
    margin-left: auto;
    text-align: right;
  }

  .stat-label {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .stat-amount {
    font-size: 24px;
    letter-spacing: -1.12px;
  }

  .stat-amount.goal {
    text-align: right;
  }

  .progress-section {
    gap: 12px;
  }

  .stages-row {
    grid-template-columns: 39.352% 22.258% 20.323% 18.067%;
  }

  .stage {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .progress-track,
  .progress-fill,
  .progress-divider {
    height: 16px;
  }

  .progress-fill {
    width: 48.71%;
  }

  .progress-divider.d1 {
    left: 39.352%;
  }

  .progress-divider.d2 {
    left: 62.581%;
  }

  .progress-divider.d3 {
    left: 82.581%;
  }

  .payment-cta {
    margin-top: 48px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    letter-spacing: 0;
  }

  .payment-btns {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
    margin-top: 20px;
  }

  .pay-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
  }

  .wise-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 0 0;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.4;
    word-break: normal;
  }

  .wise-row > span {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wise-row .copy-btn {
    flex: 0 0 32px;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-bottom: 80px;
  }

  .footer-logo {
    max-width: 100%;
    aspect-ratio: unset;
    height: auto;
  }

  .footer-logo picture {
    display: none;
  }

  .footer-logo img {
    display: none;
  }

  .footer-logo-name {
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0.4px;
  }

  .footer-bottom {
    padding-top: 40px;
    text-align: center;
  }

  .news-slider__track {
    gap: 24px;
  }

  .news-card {
    flex: 0 0 100%;
    border-radius: 20px;
  }
}

@media (max-width: 430px) {
  :root {
    --gutter-min: 16px;
  }

  .hero-title {
    font-size: 32px;
  }
}
