/* ==========================================================================
   dali bude – one-page site
   Colors: Blau #1A6DBE · Blau dunkel #0E4F8F · Schwarz #15181E · Gelb #FFD21A · Weiss
   ========================================================================== */

:root {
  --blue: #1A6DBE;
  --blue-dark: #0E4F8F;
  --black: #15181E;
  --yellow: #FFD21A;
  --yellow-hover: #FFC400;
  --white: #FFFFFF;

  --bg: #EEF1F5;
  --text: #3F4854;
  --muted: #6B7480;
  --line: #DCE2E9;
  --blue-soft: #EAF1F9;
  --blue-soft-line: #D9E5F2;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(14, 79, 143, .07);
  --shadow-hover: 0 12px 32px rgba(14, 79, 143, .14);
  --header-h: 72px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { color: var(--black); font-weight: 800; line-height: 1.2; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid #FFB400;
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .75em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: var(--yellow-hover); color: var(--black); box-shadow: 0 6px 18px rgba(255, 196, 0, .35); }

.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); box-shadow: 0 6px 18px rgba(14, 79, 143, .3); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .9); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: var(--white); }

.btn--lg { padding: .95em 2em; min-width: 210px; font-size: 1.05rem; }
.btn--sm { padding: .5em 1.15em; font-size: .92rem; }
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 4px 6px;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.link-btn:hover { color: var(--blue-dark); text-decoration: underline; }
.link-btn--static { color: var(--muted); cursor: text; user-select: all; }
.link-btn--static:hover { color: var(--muted); text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(14, 79, 143, .97);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s;
}
.js .site-header:not(.is-scrolled):not(.nav-open) {
  background: linear-gradient(180deg, rgba(8, 20, 38, .55) 0%, rgba(8, 20, 38, 0) 100%);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(21, 24, 30, .18); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--white); }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .6);
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 7px 11px;
  border-radius: 999px;
  color: #EAF1F9;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.main-nav a.is-active { background: rgba(255, 255, 255, .18); color: var(--white); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
}
.lang-switch a {
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
.lang-switch a:hover { background: rgba(255, 255, 255, .15); color: var(--white); }
.lang-switch a[aria-current="page"] { background: var(--white); color: var(--blue-dark); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 92vh, 860px);
  padding: calc(var(--header-h) + 48px) 0 110px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 79, 143, .62) 0%, rgba(14, 79, 143, .38) 38%, rgba(21, 24, 30, .9) 100%);
}
.hero-content { position: relative; z-index: 1; }

.hero h1 { margin: 0; color: var(--white); }
.hero-title {
  display: block;
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-slogan {
  display: block;
  margin-top: .3em;
  color: var(--yellow);
  font-size: clamp(1.9rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero-lead {
  max-width: 42ch;
  margin: 1.1em auto 2em;
  color: #EAF1F9;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  color: var(--white);
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--yellow); }
.hero-scroll .icon { width: 34px; height: 34px; stroke-width: 2.5; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ---------- Sections (shared) ---------- */

.sections {
  display: grid;
  gap: 28px;
  padding: 40px 0 72px;
}

.card {
  padding: clamp(24px, 4.2vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.accent {
  display: block;
  width: 54px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--yellow);
}

h2 {
  margin: 0 0 .35em;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  letter-spacing: -.01em;
}

.subtitle {
  margin: 0 0 1.2em;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 600;
}

.section-head { text-align: center; }
.section-head .accent { margin-inline: auto; }
.section-sub {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
}

.prose p:last-child { margin-bottom: 1.2em; }

/* Split layout: text + media */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
}
.split--media-first { grid-template-columns: 1fr 1.15fr; }
.split-text { min-width: 0; }
.split-media { margin: 0; min-width: 0; }

.photo {
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--blue-soft-line);
}
.photo--about {
  height: 100%;
  min-height: 340px;
  object-position: 50% 72%;
}

.stack {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  display: grid;
  gap: 16px;
}
.photo--boxes { aspect-ratio: 4 / 3; }
.photo--autos { aspect-ratio: 16 / 10; object-position: 50% 60%; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
}
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--blue-soft-line);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 600;
}
.tags .icon { width: 1em; height: 1em; stroke-width: 2.6; }

/* ---------- Impact (numbers) ---------- */

.impact {
  padding: 36px clamp(16px, 4vw, 48px) 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1A6DBE 0%, #165FA8 100%);
  color: var(--white);
  text-align: center;
  box-shadow: 0 10px 30px rgba(26, 109, 190, .25);
}
.impact-title {
  margin: 0 0 26px;
  color: #CFE0F2;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border: 2px solid #8FBBE6;
  border-radius: 50%;
}
.stat-icon .icon { width: 24px; height: 24px; }
.stat-value {
  color: var(--white);
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: #DCE9F6;
  font-size: .95rem;
  line-height: 1.4;
}

/* ---------- Help / donate ---------- */

.help {
  padding: clamp(28px, 4.2vw, 52px);
  border-radius: var(--radius);
  background: var(--blue-soft);
  border: 1px solid var(--blue-soft-line);
}
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.way {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.way h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.way-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.way-icon .icon { width: 22px; height: 22px; }
.way-icon--yellow { background: var(--yellow); color: var(--black); }
.way p { margin: 0 0 20px; font-size: .98rem; }

.iban { display: grid; gap: 2px; }
.iban-label {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.iban-number {
  color: var(--black);
  font-size: 1.12rem;
  font-weight: 700;
  word-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.iban-holder { color: var(--muted); font-size: .92rem; }

.way-actions {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: auto;
}

.js-copy .icon-done { display: none; }
.js-copy.is-done .icon-copy { display: none; }
.js-copy.is-done .icon-done { display: block; }

.help-note {
  max-width: 76ch;
  margin: 30px auto 0;
  color: var(--text);
  font-size: .95rem;
  text-align: center;
}

/* ---------- Media ---------- */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--blue-soft-line);
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: inherit;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s, background-color .2s;
}
.media-card:hover {
  color: inherit;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.media-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.media-icon .icon { width: 22px; height: 22px; }
.media-source { color: var(--blue-dark); font-size: .85rem; font-weight: 700; }
.media-title { color: var(--black); font-weight: 700; line-height: 1.35; }
.media-text { flex: 1; font-size: .92rem; line-height: 1.5; }
.media-more { margin-top: 6px; color: var(--blue); font-size: .9rem; font-weight: 600; }

.docs-title {
  margin: 34px 0 12px;
  font-size: 1rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: .92rem;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip .icon { color: var(--blue); }
.chip:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }

/* ---------- Milestones ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--line);
}
.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tl-date {
  color: var(--blue-dark);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 30px;
}
.tl-dot {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: 9px 0 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255, 210, 26, .45);
}
.tl-text { max-width: 36ch; margin: 0 0 10px; font-size: .96rem; }
.tl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}
.tl-link:hover { text-decoration: underline; }

/* ---------- Partners ---------- */

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
  padding: 26px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner-logo:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.partner-logo img {
  width: auto;
  height: 84px;
  max-width: 100%;
  object-fit: contain;
}
.partner-url {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 600;
}
.partner-url .icon { width: .95em; height: .95em; }

.name-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.name-wall li {
  padding: 9px 16px;
  border: 1px solid var(--blue-soft-line);
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}
.name-wall .name-more {
  border-style: dashed;
  background: var(--white);
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 26px;
  background: var(--black);
  color: #CBD3DD;
  font-size: .98rem;
}
.site-footer a { color: #EAF1F9; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { margin: 0 0 .6em; }
.site-footer address { font-style: normal; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand p { color: #9AA6B4; }
.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}
.site-footer .footer-name {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}
.footer-h {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #7B8492;
  font-size: .86rem;
}
.site-footer .footer-bottom p { margin: 0; }
.site-footer .slava { color: var(--yellow); font-size: 1rem; font-weight: 700; }

.lang-switch--footer { border-color: rgba(255, 255, 255, .18); }
.site-footer .lang-switch--footer a { color: #CBD3DD; font-weight: 600; letter-spacing: 0; }
.site-footer .lang-switch--footer a:hover { color: var(--white); }
.site-footer .lang-switch--footer a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--white); }

/* ---------- Dialogs ---------- */

.dialog {
  width: min(580px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.dialog::backdrop {
  background: rgba(21, 24, 30, .6);
  backdrop-filter: blur(2px);
}
.dialog[open] { animation: dialog-in .25s ease-out; }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.dialog-body { position: relative; padding: 32px; }
.dialog h2 { padding-right: 44px; font-size: 1.45rem; }
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--black);
  cursor: pointer;
}
.dialog-close:hover { background: var(--blue-soft-line); }
.dialog-close .icon { width: 22px; height: 22px; }

.needs-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.needs-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.needs-list .icon { margin-top: .2em; color: var(--blue); stroke-width: 2.6; }
.dialog-note { font-size: .95rem; }

.dialog--qr { width: min(440px, calc(100% - 32px)); text-align: center; }
.dialog--qr h2 { padding-inline: 44px; }
.qr-img {
  display: block;
  width: min(280px, 100%);
  margin: 8px auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.qr-iban { color: var(--black); font-weight: 600; }

/* ---------- Scroll reveal (class .reveal-on is set by main.js) ---------- */

.reveal-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--blue-dark);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s, transform .2s;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(100% - 32px, 1160px);
    margin: 0 auto;
    padding: 12px 0 20px;
  }
  .main-nav a { padding: 12px 16px; border-radius: 10px; font-size: 1.1rem; }
}

@media (max-width: 900px) {
  .split,
  .split--media-first { grid-template-columns: 1fr; }
  .split--media-first .split-media { order: 2; }
  .photo--about { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .stack { position: static; grid-template-columns: 1fr 1fr; }
  .photo--boxes, .photo--autos { aspect-ratio: 4 / 3; height: 100%; }

  .ways { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .partner-logos { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .2); }

  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto; }
  .tl-item { position: relative; align-items: flex-start; padding-left: 44px; text-align: left; }
  .tl-dot { position: absolute; left: 0; top: 3px; margin: 0; }
  .tl-date { line-height: 1.3; margin-bottom: 4px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 1.15rem; }
  .header-actions .lang-switch { display: none; }
  .header-donate { padding: .5em .95em; font-size: .88rem; }

  .hero { min-height: 540px; padding-bottom: 96px; }
  .btn--lg { width: 100%; min-width: 0; }
  .hero-actions { max-width: 340px; margin-inline: auto; }

  .sections { gap: 20px; padding: 20px 0 48px; }
  .help { padding: 28px 14px; }
  .way { padding: 22px 18px 18px; }
  .iban-number { font-size: 1.02rem; white-space: nowrap; }
  .stack { grid-template-columns: 1fr; }
  .photo--boxes, .photo--autos { height: auto; }
  .dialog-body { padding: 24px 20px; }
}

/* Mobile menu: language links inside the menu panel */
.nav-lang { display: none; }
@media (max-width: 560px) {
  .nav-lang {
    display: flex;
    gap: 8px;
    padding: 12px 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 8px;
  }
  .main-nav .nav-lang a {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: .95rem;
  }
  .main-nav .nav-lang a[aria-current="page"] { background: var(--white); color: var(--blue-dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-scroll, .dialog, .nav-toggle { display: none !important; }
  .hero { min-height: 0; padding: 40px 0; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

.nw { white-space: nowrap; }
