/* Acción Ucrania — editorial NGO
   Palette: Ukraine blue · sunflower gold-yellow · paper/off-white · charcoal */

:root {
  /* Ukraine blue family */
  --ukraine-blue: #0057B7;
  --navy: #0a2240;
  --navy-deep: #061527;
  --navy-mid: #0d3a7a;
  /* Sunflower yellow family (warm gold, adult — not neon candy) */
  --sunflower: #E6B800;
  --sunflower-bright: #F5C518;
  --sunflower-soft: #FBF3D4;
  --sunflower-ink: #5c4508;
  /* Surfaces & text */
  --paper: #f7f5f0;
  --paper-warm: #f0ede6;
  --white: #fdfcfa;
  --charcoal: #1c2430;
  --ink-soft: #3d4756;
  --muted: #5a6575;
  --line: rgba(10, 34, 64, 0.10);
  --line-strong: rgba(10, 34, 64, 0.16);
  /* Aliases kept for existing class names */
  --gold: var(--sunflower);
  --gold-soft: var(--sunflower-soft);
  --gold-ink: var(--sunflower-ink);
  --blue-soft: #e6eef8;
  --shadow: 0 20px 48px rgba(6, 21, 39, 0.10);
  --shadow-soft: 0 6px 20px rgba(6, 21, 39, 0.06);
  --radius: 4px;
  --radius-md: 8px;
  --max: 1080px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --header-h: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--ukraine-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--navy-mid); }
p { margin: 0 0 1.1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0 0 0.85rem;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.55rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ukraine-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(253, 252, 250, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ukraine-blue) 0%, var(--ukraine-blue) 50%, var(--sunflower) 50%, var(--sunflower) 100%);
  pointer-events: none;
  z-index: 1;
}
.site-header.is-scrolled {
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(6, 21, 39, 0.10);
  border-bottom-color: rgba(10, 34, 64, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.55rem;
}
.brand,
.brand-text-only {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(16rem, 42vw);
  line-height: 1.2;
}
.brand-text {
  display: block;
  line-height: 1.2;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
  white-space: normal;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 1 1 auto;
  min-width: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.4rem 0.55rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: transparent;
  border-bottom-color: var(--sunflower);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}
/* Sunflower yellow CTA — dark navy ink for adult contrast */
.btn-accent {
  background: var(--sunflower);
  color: var(--navy);
  border-color: var(--sunflower);
}
.btn-accent:hover {
  background: var(--sunflower-bright);
  color: var(--navy);
  border-color: var(--sunflower-bright);
}
.btn-primary {
  background: var(--ukraine-blue);
  color: #fff;
  border-color: var(--ukraine-blue);
}
.btn-primary:hover { background: var(--navy-mid); color: #fff; border-color: var(--navy-mid); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--ukraine-blue);
  color: var(--ukraine-blue);
  background: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.header-cta { white-space: nowrap; padding: 0.5rem 1rem; font-size: 0.88rem; flex-shrink: 0; }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.75rem);
}
/* Subtle Ukraine flag stripe + faint sunflower watermark */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ukraine-blue) 0%, var(--ukraine-blue) 48%, var(--sunflower) 48%, var(--sunflower) 100%);
  opacity: 0.09;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  background: url("/assets/img/sunflower-mark.svg") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sunflower-bright);
  margin-bottom: 1.1rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.15rem;
  max-width: 13ch;
}
.hero-lead {
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  color: rgba(255,255,255,0.82);
  max-width: 34ch;
  margin-bottom: 1.85rem;
  line-height: 1.55;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-meta strong { color: rgba(255,255,255,0.92); font-weight: 600; }

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 197, 24, 0.18);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video,
.hero-video-fallback,
.hero-visual img,
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Subtle Ken Burns on static hero photo */
.hero-visual > img {
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  animation: heroKenBurns 14s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1) translate3d(0, var(--parallax-y, 0px), 0); }
  to { transform: scale(1.12) translate3d(-1.5%, calc(var(--parallax-y, 0px) - 1%), 0); }
}
.hero-video,
.hero-video-fallback {
  position: absolute;
  inset: 0;
  display: block;
  border: 0;
  /* slight scale hides soft edge crop on some clips */
  transform: scale(1.02);
  transform-origin: center;
}
.hero-video {
  z-index: 1;
  pointer-events: none;
}
.hero-video-fallback {
  z-index: 0;
}
.hero-visual--media.is-fallback .hero-video,
.hero-visual--media.hero-video-off .hero-video {
  display: none;
}
.hero-visual--media.is-fallback .hero-video-fallback,
.hero-visual--media.hero-video-off .hero-video-fallback {
  z-index: 1;
}
.hero-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(6, 21, 39, 0.88));
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.45;
}
.hero-visual-caption strong {
  display: block;
  color: var(--sunflower-bright);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

/* —— Sections —— */
.section { padding: clamp(3.5rem, 7vw, 5.75rem) 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-warm { background: var(--paper-warm); }
.section-navy {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-navy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ukraine-blue), var(--sunflower));
  pointer-events: none;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 4vw, 2.85rem);
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-navy .section-head p { color: rgba(255,255,255,0.7); }
.kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ukraine-blue);
  margin-bottom: 0.65rem;
}
.section-navy .kicker { color: var(--sunflower-bright); }

/* —— Impact / stats —— */
.impact-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.impact-intro p { color: var(--ink-soft); font-size: 1.08rem; }
.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.stat {
  padding: 1.35rem 1.15rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(6, 21, 39, 0.06);
}
.stat:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 1.5rem; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  color: var(--ukraine-blue);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
}
.stat span {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

/* —— Work areas —— */
.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.work-item {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(6, 21, 39, 0.06);
}
.work-item:not(:last-child) {
  padding-right: 1.75rem;
  margin-right: 1.75rem;
  border-right: 1px solid var(--line);
}
.work-item .work-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--sunflower);
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}
.work-item h3 { margin-bottom: 0.6rem; }
.work-item p { color: var(--muted); margin-bottom: 1rem; }
.work-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.work-item li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  color: var(--charcoal);
  font-size: 0.96rem;
  line-height: 1.45;
}
.work-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 1.5px;
  background: var(--ukraine-blue);
}

/* —— Photo frames —— */
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--navy-mid);
  box-shadow: var(--shadow-soft);
}
.photo-frame img {
  transition: transform 0.35s ease;
}
.photo-frame:hover img {
  transform: scale(1.06);
}
.photo-frame--tall { aspect-ratio: 3 / 4; }
.photo-frame--wide { aspect-ratio: 16 / 10; }
.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(transparent, rgba(6, 21, 39, 0.85));
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
}

/* —— Testimonials —— */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.story {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--sunflower);
}
.story blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
  flex: 1;
}
.story footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.story footer strong {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
}

/* —— Collaboration paths —— */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(6, 21, 39, 0.09);
  border-color: rgba(10, 34, 64, 0.14);
}
.path-card .path-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ukraine-blue);
}
.path-card h3 { margin: 0; }
.path-card p { color: var(--muted); flex: 1; margin: 0; }
.path-card .btn { align-self: flex-start; margin-top: 0.5rem; }
.path-card--featured {
  background: var(--ukraine-blue);
  border-color: var(--ukraine-blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.35);
}
.path-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.45), 0 16px 36px rgba(0, 87, 183, 0.28);
  border-color: var(--ukraine-blue);
}
.path-card--featured h3 { color: #fff; }
.path-card--featured p { color: rgba(255,255,255,0.78); }
.path-card--featured .path-label { color: var(--sunflower-bright); }

/* —— Local urgency band —— */
.local-band {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.35rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.local-band h2 { margin-bottom: 0.4rem; font-size: clamp(1.35rem, 2.5vw, 1.65rem); }
.local-band p { color: var(--muted); margin: 0; max-width: 38ch; }
.local-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* —— Contact strip —— */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.contact-item {
  padding: 1.35rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}
.contact-item:not(:last-child) {
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid var(--line);
}
.contact-item:hover { color: inherit; }
.contact-item:hover strong { color: var(--ukraine-blue); }
.contact-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sunflower);
  margin-bottom: 0.4rem;
}
.contact-item strong {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  transition: color 0.15s ease;
}

/* —— Page hero (inner) —— */
.page-hero {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4rem) 0 2.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ukraine-blue) 50%, var(--sunflower) 50%);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
  line-height: 1.55;
}

.content-block { max-width: 42rem; }
.content-block h2 { margin-top: 2rem; }
.content-block ul { padding-left: 1.15rem; }
.content-block li { margin-bottom: 0.4rem; color: var(--ink-soft); }

.letter {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ukraine-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  font-size: 1.05rem;
}
.letter .sign {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--navy);
}

.legal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.legal h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--charcoal); }

/* —— Forms —— */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.85rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
input, textarea, select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  background: var(--paper);
  color: var(--charcoal);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(0, 87, 183, 0.28);
  border-color: var(--ukraine-blue);
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 0.85rem; }
.form-ok {
  background: var(--blue-soft);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--navy);
}
.form-err {
  background: #f8eaea;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: #7a1f1f;
}

/* —— Donate page —— */
.donate-journeys {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.journey {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}
.journey:first-child { padding-top: 0; }
.journey:last-child { border-bottom: 0; }
.journey-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ukraine-blue);
  margin-bottom: 0.65rem;
}
.journey h2 { font-size: clamp(1.4rem, 2.5vw, 1.7rem); margin-bottom: 0.65rem; }
.journey .journey-lead { color: var(--muted); margin-bottom: 1.25rem; }
.journey-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  counter-reset: step;
}
.journey-steps li {
  counter-increment: step;
  position: relative;
  padding: 0.7rem 0 0.7rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.journey-steps li:first-child { border-top: 0; }
.journey-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--sunflower);
  font-weight: 600;
}
.journey-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.5rem;
}
.journey-panel--navy {
  background: var(--ukraine-blue);
  border-color: var(--ukraine-blue);
  color: #fff;
}
.journey-panel--navy h3 { color: #fff; }
.journey-panel--navy p { color: rgba(255,255,255,0.78); }
.journey-panel h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.journey-panel p { font-size: 0.98rem; }
.journey-panel .btn { margin-top: 0.75rem; }

.trust-block {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  padding: 2rem 0 0;
}
.trust-facts {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.trust-facts li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.trust-facts li:first-child { border-top: 0; }
.trust-facts strong { color: var(--navy); }
.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}
.trust-aside {
  background: var(--sunflower-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(230, 184, 0, 0.28);
}
.trust-aside h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.trust-aside p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.85rem; }
.trust-aside a { font-weight: 600; }

/* —— About layout —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  max-width: 48rem;
}
.service-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.service-row h3 { margin: 0; font-size: 1.15rem; }
.service-row p { margin: 0; color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.25rem;
  align-items: start;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 3.25rem 0 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ukraine-blue) 50%, var(--sunflower) 50%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}
.footer-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sunflower-bright);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-brand p { margin-top: 1rem; font-size: 0.94rem; line-height: 1.55; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.footer-list a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
.footer-list a:hover { color: var(--sunflower-bright); }
.footer-cta-text { font-size: 0.94rem; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.1rem 0 1.4rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom p { margin: 0; }

/* —— Mobile donate bar —— */
.mobile-donate-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(253, 252, 250, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(10, 34, 64, 0.08);
  box-shadow: 0 -8px 28px rgba(6, 21, 39, 0.12);
}
.mobile-donate-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ukraine-blue) 50%, var(--sunflower) 50%);
  pointer-events: none;
}
.mobile-donate-bar .btn {
  width: 100%;
  box-shadow: 0 4px 14px rgba(230, 184, 0, 0.28);
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .hero-grid,
  .impact-row,
  .about-grid,
  .trust-block,
  .journey,
  .local-band,
  .footer-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .work-list,
  .stories-grid,
  .paths-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }
  .work-item {
    padding: 1.35rem 0 !important;
    margin-right: 0 !important;
    border-right: 0 !important;
  }
  .contact-item {
    padding: 1.1rem 0 !important;
    margin-right: 0 !important;
    border-right: 0 !important;
  }
  .stat:nth-child(odd) {
    padding-right: 1rem;
  }
  .stat:nth-child(even) {
    padding-left: 1rem;
  }
  .hero-visual { max-width: 100%; aspect-ratio: 16 / 11; }
  .hero::after { width: 220px; height: 220px; opacity: 0.05; top: auto; bottom: 4%; }
  .service-row { grid-template-columns: 1fr; gap: 0.35rem; }

  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { order: 2; }
  .lang-switch { order: 1; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.35rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    border-bottom: 1px solid var(--line);
    overflow: auto;
    margin-left: 0;
    z-index: 400;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul { flex-direction: column; width: 100%; }
  .site-nav a {
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .site-nav a.is-active,
  .site-nav a:hover { border-bottom-color: var(--sunflower); }
  .brand,
  .brand-text-only {
    max-width: min(12.5rem, 52vw);
  }
  .form-grid { grid-template-columns: 1fr; }

  .mobile-donate-bar { display: block; }
  body { padding-bottom: 4.5rem; }
  .site-footer { padding-bottom: 0.5rem; }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .work-list, .stories-grid, .paths-grid { grid-template-columns: 1fr 1fr; }
  .work-item:nth-child(2) { border-right: 0; margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .site-nav { transition: none; }
}

/* —— Partners strip —— */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.25rem;
  border-top: none;
}
.partners-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  min-width: 7.25rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(20, 36, 68, 0.06);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 36, 68, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.partners-strip li:hover,
.partners-strip li:focus-within {
  border-color: rgba(20, 36, 68, 0.12);
  box-shadow: 0 10px 22px rgba(20, 36, 68, 0.08);
  transform: translateY(-6px);
}
.partners-strip img {
  max-height: 3.5rem;
  width: auto;
  max-width: 7.25rem;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.partners-strip li:hover img,
.partners-strip li:focus-within img {
  opacity: 1;
  transform: translateY(-4px) scale(1.04);
}

/* —— Stories / help layout with photos —— */
.stories-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.stories-layout .section-head {
  max-width: 34rem;
  margin: 0;
}
.stories-photo {
  width: 100%;
  max-width: 26rem;
  justify-self: end;
  aspect-ratio: 4 / 5;
}
.stories-grid {
  align-items: stretch;
}
.vocation-visual { margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.help-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
.help-visual { max-width: 280px; justify-self: end; }

.journey-panel--with-photo { padding-top: 0; overflow: hidden; }
.journey-thumb {
  margin: 0 -1.5rem 1.15rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--navy-mid);
}
.journey-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.journey-thumb:hover img {
  transform: scale(1.06);
}
.donate-banner { max-height: 320px; }
.donate-banner img { object-position: center; }

.footer-credit {
  margin-top: 0.45rem !important;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
}

/* hero sky wash */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 87, 183, 0.32) 0%, rgba(0, 87, 183, 0.12) 28%, transparent 52%);
  pointer-events: none;
  z-index: 1;
}
.hero-media .hero-video,
.hero-media .hero-video-fallback { z-index: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-media::after { background: linear-gradient(180deg, rgba(0, 87, 183, 0.22) 0%, transparent 48%); }
}

/* —— Scroll reveal + hero entrance —— */
html.js .reveal {
  opacity: 0;
  transform: translateY(2.75rem) scale(0.97);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
html.js .reveal--delay { transition-delay: 0.14s; }
html.js .reveal--delay-2 { transition-delay: 0.28s; }

/* Stagger children inside work / stats / stories groups */
html.js .reveal--stagger > .reveal,
html.js .reveal--stagger > .stat,
html.js .reveal--stagger > .work-item,
html.js .reveal--stagger > .story,
html.js .reveal--stagger > .path-card {
  transition-delay: 0s;
}
html.js .reveal--stagger > :nth-child(1) { transition-delay: 0.06s; }
html.js .reveal--stagger > :nth-child(2) { transition-delay: 0.18s; }
html.js .reveal--stagger > :nth-child(3) { transition-delay: 0.30s; }
html.js .reveal--stagger > :nth-child(4) { transition-delay: 0.42s; }
html.js .reveal--stagger > :nth-child(5) { transition-delay: 0.52s; }
html.js .reveal--stagger > :nth-child(6) { transition-delay: 0.62s; }

html.js .hero-enter {
  opacity: 0;
  transform: translateY(2rem) scale(0.98);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .hero-enter.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
html.js .hero-enter--delay { transition-delay: 0.22s; }

/* Impact counters: soft fade when animated */
html.js .stat strong.is-counting {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .stories-layout,
  .help-layout {
    grid-template-columns: 1fr;
  }
  .stories-photo {
    max-width: 22rem;
    justify-self: start;
    aspect-ratio: 5 / 4;
  }
  .help-visual {
    max-width: 100%;
    aspect-ratio: 4 / 3;
    justify-self: stretch;
  }
  .partners-strip {
    gap: 0.75rem 0.85rem;
  }
  .partners-strip li {
    min-height: 4.5rem;
    min-width: 0;
    flex: 1 1 calc(50% - 0.85rem);
    max-width: calc(50% - 0.45rem);
    padding: 0.7rem 0.85rem;
  }
  .partners-strip img { max-height: 2.85rem; max-width: 6.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal--stagger > :nth-child(n) { transition-delay: 0s; }
  .hero-video { display: none !important; }
  .hero-video-fallback {
    z-index: 1;
    transform: none;
  }
  .partners-strip img { transition: none; }
}



/* Full ACU logo — footer bottom-left like original site */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.footer-logo {
  display: inline-block;
  line-height: 0;
}
.footer-logo img {
  width: 200px !important;
  max-width: min(220px, 75vw) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.site-footer .footer-brand p {
  max-width: 28rem;
}
@media (max-width: 640px) {
  .footer-logo img { max-width: min(180px, 65vw) !important; }
}

/* Header logo — colorful heart only (sizing in rules above; full logo in footer) */

/* —— Cursos de español —— */
.ua-line {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ukraine-blue);
  letter-spacing: 0.01em;
}
.ua-sub {
  margin-top: 0.65rem !important;
  font-size: 1rem !important;
  max-width: 42rem;
  color: var(--muted);
}
.ua-note {
  color: var(--muted);
  font-size: 0.95rem;
}
.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}
.city-pills li {
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.city-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.city-fieldset legend {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.city-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.city-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}
.city-option:has(input:checked) {
  border-color: var(--ukraine-blue);
  background: var(--blue-soft);
  color: var(--navy);
}
.city-option input {
  width: auto;
  margin: 0;
  accent-color: var(--ukraine-blue);
}
.label-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal);
  cursor: pointer;
}
.consent-label input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--ukraine-blue);
}

.form-radios {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.form-radio:has(input:checked) {
  border-color: var(--ukraine-blue);
  background: var(--blue-soft);
  color: var(--navy);
}
.form-radio input {
  width: auto;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--ukraine-blue);
}


/* —— Nav: featured Cursos link —— */
.site-nav a.nav-featured {
  background: rgba(0, 87, 183, 0.08);
  color: var(--ukraine-blue);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(0, 87, 183, 0.18);
}
.site-nav a.nav-featured:hover,
.site-nav a.nav-featured[aria-current="page"] {
  background: var(--ukraine-blue);
  color: #fff;
  border-color: var(--ukraine-blue);
}

/* —— Home courses feature —— */
.section-courses {
  background: var(--paper, #f7f4ef);
  border-block: 1px solid var(--line);
}
.courses-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
.courses-feature-photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.courses-feature-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.courses-feature-copy .ua-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}
.courses-feature-copy h2 {
  margin-top: 0.25rem;
  max-width: 18ch;
}
@media (max-width: 860px) {
  .courses-feature {
    grid-template-columns: 1fr;
  }
  .courses-feature-copy h2 { max-width: none; }
}



@media (min-width: 1101px) and (max-width: 1280px) {
  .site-nav a { padding: 0.35rem 0.4rem; font-size: 0.84rem; }
  .brand-text strong { font-size: 0.95rem; }
  .header-actions { gap: 0.45rem; }
}
/* —— Lang switcher (i18n) —— */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.32rem 0.48rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  border: 0;
}
.lang-switch a:hover {
  color: var(--navy);
  background: rgba(0, 87, 183, 0.06);
}
.lang-switch a.is-active {
  color: var(--navy);
  background: rgba(255, 215, 0, 0.35);
}
.lang-switch-sep { display: none; }


/* —— Visual polish: hero CTA soft pulse (3 cycles) —— */
@keyframes heroCtaPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0, 87, 183, 0.22); transform: translateY(0) scale(1); }
  50% { box-shadow: 0 14px 36px rgba(255, 213, 0, 0.45), 0 0 0 6px rgba(0, 87, 183, 0.12); transform: translateY(-2px) scale(1.03); }
}
  45% { box-shadow: 0 0 0 8px rgba(245, 197, 24, 0.22); }
  70% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
}
.hero-actions .btn-accent {
  animation: heroCtaPulse 1.5s ease-in-out 0.5s 5;
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual > img {
    animation: none !important;
    transform: none !important;
  }
  .hero-actions .btn-accent {
    animation: none !important;
  }
  .path-card:hover,
  .path-card--featured:hover,
  .stat:hover,
  .work-item:hover,
  .partners-strip li:hover,
  .partners-strip li:focus-within {
    transform: none;
  }
  .photo-frame img,
  .journey-thumb img {
    transition: none;
  }
  .photo-frame:hover img,
  .journey-thumb:hover img {
    transform: none;
  }
  .site-header {
    transition: none;
  }
}


/* —— Scroll progress bar (top of viewport) —— */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1000;
  pointer-events: none;
  background: rgba(10, 34, 64, 0.06);
}
.scroll-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--ukraine-blue) 0%, #1a6fd0 45%, var(--sunflower) 100%);
  box-shadow: 0 0 12px rgba(0, 87, 183, 0.35);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress__bar { transition: none; }
  .scroll-progress { height: 3px; }
}


/* —— Photo reveal: soft fade/rise only (no clip-path; IO needs real box) —— */
html.js .photo-frame.reveal-photo {
  /* inherits .reveal opacity/transform; keep img calm until visible */
}
html.js .photo-frame.reveal-photo img {
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .photo-frame.reveal-photo.is-visible img {
  transform: scale(1);
}

/* —— Soft floating orbs in hero —— */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-orb--1 {
  width: 180px; height: 180px;
  top: 8%; left: -40px;
  background: radial-gradient(circle, rgba(0, 87, 183, 0.35), transparent 70%);
  animation-duration: 14s;
}
.hero-orb--2 {
  width: 120px; height: 120px;
  top: 55%; left: 28%;
  background: radial-gradient(circle, rgba(255, 213, 0, 0.4), transparent 70%);
  animation-duration: 11s;
  animation-delay: -3s;
}
.hero-orb--3 {
  width: 220px; height: 220px;
  bottom: -40px; right: 8%;
  background: radial-gradient(circle, rgba(0, 87, 183, 0.22), transparent 70%);
  animation-duration: 16s;
  animation-delay: -6s;
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -28px, 0) scale(1.12); }
}

/* —— Hero parallax layer —— */
.hero-visual img.is-parallax {
  will-change: transform;
}

/* —— Counter finish pop —— */
html.js .stat strong.is-pop {
  animation: counterPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1;
}
@keyframes counterPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); color: var(--ukraine-blue); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; opacity: 0.25; }
  html.js .stat strong.is-pop { animation: none; }
  html.js .photo-frame.reveal-photo img,
  html.js .photo-frame.reveal-photo.is-visible img {
    transform: none;
    transition: none;
  }
}
