/* ============================================================
   True Help — Design System v2
   Light / Dark themes · Animations · Gallery · Cookies
   Fonts: Manrope (headings) + Inter (body)
   ============================================================ */

:root {
  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-primary: #1a3a6b;
  --color-primary-soft: #254d8a;
  --color-accent: #e8a830;
  --color-accent-soft: rgba(232, 168, 48, 0.15);
  --color-text: #141c2e;
  --color-text-muted: #5c6b82;
  --color-border: rgba(26, 58, 107, 0.1);
  --color-header-bg: rgba(244, 246, 251, 0.88);
  --color-footer-bg: #0f1729;
  --color-footer-text: #c8d0e0;
  --color-overlay: rgba(10, 18, 36, 0.72);
  --shadow-soft: 0 18px 40px rgba(10, 27, 66, 0.1);
  --shadow-card: 0 8px 24px rgba(10, 27, 66, 0.08);
  --shadow-hover: 0 20px 44px rgba(10, 27, 66, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition-theme: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  --font-heading: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --color-bg: #0c1222;
  --color-surface: #151d32;
  --color-surface-elevated: #1c2640;
  --color-primary: #6ba3e8;
  --color-primary-soft: #8bb8f0;
  --color-accent: #f0c050;
  --color-accent-soft: rgba(240, 192, 80, 0.12);
  --color-text: #e8edf5;
  --color-text-muted: #8b9ab8;
  --color-border: rgba(107, 163, 232, 0.12);
  --color-header-bg: rgba(12, 18, 34, 0.92);
  --color-footer-bg: #080e1a;
  --color-footer-text: #8b9ab8;
  --color-overlay: rgba(4, 8, 18, 0.88);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 20px 44px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition-theme);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section__title,
.hero__title,
.brand__text {
  font-family: var(--font-heading);
}

/* ── Animations ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 168, 48, 0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(232, 168, 48, 0); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(1.12); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(18px, -24px) scale(1.06); }
  66%       { transform: translate(-14px, 12px) scale(0.94); }
}

@keyframes text-glow-pulse {
  0%, 100% { text-shadow: 0 0 24px rgba(232, 168, 48, 0.25), 0 2px 24px rgba(0, 0, 0, 0.35); }
  50%       { text-shadow: 0 0 36px rgba(232, 168, 48, 0.45), 0 0 64px rgba(107, 163, 232, 0.2), 0 2px 24px rgba(0, 0, 0, 0.35); }
}

@keyframes glow-ring {
  0%, 100% { box-shadow: 0 0 0 0 var(--glow-color, rgba(232, 168, 48, 0.45)); }
  50%       { box-shadow: 0 0 0 10px transparent; }
}

@keyframes shimmer-glow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Utility ── */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center { text-align: center; }

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-theme), box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(10, 27, 66, 0.12);
  border-bottom-color: transparent;
}

[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.brand:hover { opacity: 1; }

.brand__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand__logo {
  transform: scale(1.06) rotate(-2deg);
}

.brand__text {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

/* Theme toggle */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.25s, transform 0.2s, border-color 0.25s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: scale(1.06);
  border-color: var(--color-primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:active svg { transform: rotate(30deg) scale(0.9); }

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }

[data-theme="light"] .theme-toggle .icon-moon,
:root:not([data-theme]) .theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.nav__toggle:hover {
  border-color: var(--color-primary);
  transform: scale(1.04);
}

.nav__toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 16px;
}

.nav__toggle-box span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s, width 0.3s;
}

.nav__toggle[aria-expanded="true"] {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-box span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.2s, background 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: calc(100% - 24px);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
  background: var(--color-accent-soft);
}

.nav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 16px;
}

.nav__link--cta:hover {
  background: var(--color-primary-soft);
  transform: translateY(-1px);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(26, 58, 107, 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 58, 107, 0.35);
}

.btn--accent {
  background: var(--color-accent);
  color: #1a1a1a;
  box-shadow: 0 8px 22px rgba(232, 168, 48, 0.35);
}

.btn--accent:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn--glow {
  position: relative;
  background: linear-gradient(135deg, rgba(232, 168, 48, 0.95), rgba(240, 192, 80, 0.9));
  color: #1a1a1a;
  font-weight: 700;
  border: none;
  box-shadow: 0 0 24px rgba(232, 168, 48, 0.45), 0 8px 28px rgba(0, 0, 0, 0.25);
  animation: glow-ring 2.5s ease-in-out infinite;
  --glow-color: rgba(232, 168, 48, 0.35);
}

.btn--glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px rgba(232, 168, 48, 0.6), 0 14px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn--ghost {
  border-color: rgba(107, 163, 232, 0.4);
  color: var(--color-text);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-accent-soft);
  transform: translateY(-1px);
}

.btn--lg { padding: 13px 26px; font-size: 0.95rem; }
.btn--sm { padding: 6px 14px; font-size: 0.8rem; }
.btn--full { width: 100%; }

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bg-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 50, 0.82) 0%,
    rgba(20, 40, 80, 0.65) 50%,
    rgba(10, 18, 36, 0.78) 100%
  );
}

[data-theme="dark"] .hero-bg-video__overlay {
  background: linear-gradient(
    135deg,
    rgba(4, 8, 20, 0.9) 0%,
    rgba(12, 24, 50, 0.75) 50%,
    rgba(4, 8, 18, 0.88) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(232, 168, 48, 0.2);
  border: 1px solid rgba(232, 168, 48, 0.35);
  color: #f5d080;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-glow 2s infinite;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-drift 14s ease-in-out infinite;
}

.hero__orb--1 {
  width: 320px;
  height: 320px;
  top: 10%;
  right: -8%;
  background: radial-gradient(circle, rgba(232, 168, 48, 0.35) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 280px;
  height: 280px;
  bottom: 15%;
  left: -6%;
  background: radial-gradient(circle, rgba(107, 163, 232, 0.3) 0%, transparent 70%);
  animation-delay: -5s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  top: 45%;
  left: 40%;
  background: radial-gradient(circle, rgba(240, 192, 80, 0.22) 0%, transparent 70%);
  animation-delay: -9s;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both,
             text-glow-pulse 5s ease-in-out infinite;
}

.hero__subtitle {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 600px;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__social-cta {
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__social-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.hero__social-pulse {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.8);
  animation: glow-ring 2s ease-in-out infinite;
  --glow-color: rgba(74, 222, 128, 0.5);
}

.hero__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.metric {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 150px;
  transition: box-shadow 0.35s, border-color 0.35s, transform 0.35s, background 0.35s;
}

.metric:hover {
  border-color: rgba(232, 168, 48, 0.45);
  box-shadow: 0 0 28px rgba(232, 168, 48, 0.2), 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.metric__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-accent);
  line-height: 1.2;
}

.metric__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  display: block;
}

/* ── Sections ── */

.section {
  padding: 80px 0;
  transition: var(--transition-theme);
}

.section--light {
  background: var(--color-surface);
}

.section--tinted {
  background: var(--color-bg);
  position: relative;
}

.section--tinted::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--color-accent-soft) 0%, transparent 60%);
  pointer-events: none;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
}

.section__subtitle {
  margin: 0 auto 28px;
  max-width: 620px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: flex-start;
}

.section__inner--split { align-items: center; }
.section__inner--centered { max-width: 100% !important; }

.section__content p { color: var(--color-text-muted); line-height: 1.7; }
.section__content h3 {
  color: var(--color-text);
  font-weight: 700;
  margin-top: 28px;
}

.section__note {
  margin-top: 32px;
  color: var(--color-text-muted);
}

/* Cards */

.info-card,
.donate-card {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s, var(--transition-theme);
}

.info-card:hover,
.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.link:hover { gap: 8px; text-decoration: none; }

/* Goals tabs */

.goals-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 36px 0 24px;
}

.goals-tab {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--font-body);
}

.goals-tab:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.goals-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(26, 58, 107, 0.3);
}

.goals-panels {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  min-height: 120px;
}

.goals-panel {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.4s;
}

.goals-panel p { color: var(--color-text-muted); line-height: 1.7; }

.goals-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.goals-panel.active.is-entering {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Help types */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.icon-card {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s, border-color 0.3s;
  cursor: default;
}

.icon-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.icon-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--color-accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-card:hover .icon-card__icon { transform: scale(1.12) rotate(-5deg); }

.icon-card__icon img { height: 32px; }

.icon-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.icon-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.team-card {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s;
  overflow: hidden;
  position: relative;
}

.team-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.35s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.team-card:hover::after { transform: scaleX(1); }

.team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid var(--color-accent-soft);
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover .team-card__photo {
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.team-card__name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.team-card__role {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ── Social glow buttons ── */

.social-glow-btn {
  --social-glow: rgba(26, 58, 107, 0.35);
  --social-color: var(--color-primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}

.social-glow-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-glow-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, var(--social-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.social-glow-btn:hover {
  transform: translateY(-3px);
  border-color: var(--social-color);
  box-shadow: 0 0 24px var(--social-glow), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-glow-btn:hover::before {
  opacity: 1;
}

.social-glow-btn--fb {
  --social-color: #1877f2;
  --social-glow: rgba(24, 119, 242, 0.45);
}

.social-glow-btn--ig {
  --social-color: #e1306c;
  --social-glow: rgba(225, 48, 108, 0.4);
}

.social-glow-btn--tg {
  --social-color: #2aabee;
  --social-glow: rgba(42, 171, 238, 0.45);
}

.social-glow-btn--sm {
  color: var(--color-text);
  background: var(--color-surface-elevated);
  border-color: var(--color-border);
}

.social-glow-btn--sm:hover {
  color: #fff;
  background: var(--social-color);
}

/* Social links (contacts) */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.social-links--compact {
  margin-top: 24px;
}

/* ── Social spotlight section ── */

.social-spotlight {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 58, 107, 0.12) 0%, transparent 60%),
    var(--color-bg);
}

[data-theme="dark"] .social-spotlight {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107, 163, 232, 0.1) 0%, transparent 60%),
    var(--color-bg);
}

.social-spotlight__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.social-spotlight__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glow-breathe 8s ease-in-out infinite;
}

.social-spotlight__orb--1 {
  width: 400px;
  height: 400px;
  top: -10%;
  left: -5%;
  background: rgba(24, 119, 242, 0.18);
}

.social-spotlight__orb--2 {
  width: 360px;
  height: 360px;
  top: 20%;
  right: -8%;
  background: rgba(225, 48, 108, 0.14);
  animation-delay: -3s;
}

.social-spotlight__orb--3 {
  width: 300px;
  height: 300px;
  bottom: -5%;
  left: 35%;
  background: rgba(42, 171, 238, 0.16);
  animation-delay: -6s;
}

.social-spotlight__header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.social-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-accent-soft);
  border: 1px solid rgba(232, 168, 48, 0.3);
}

.social-spotlight__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  animation: glow-ring 2s ease-in-out infinite;
  --glow-color: rgba(74, 222, 128, 0.45);
}

.social-spotlight__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-spotlight__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.social-spotlight__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
  overflow: hidden;
}

.social-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}

.social-card--fb {
  --card-glow: rgba(24, 119, 242, 0.35);
  --card-accent: #1877f2;
}

.social-card--fb .social-card__glow {
  background: radial-gradient(ellipse at 50% 0%, var(--card-glow) 0%, transparent 65%);
}

.social-card--ig {
  --card-glow: rgba(225, 48, 108, 0.3);
  --card-accent: #e1306c;
}

.social-card--ig .social-card__glow {
  background: radial-gradient(ellipse at 50% 0%, var(--card-glow) 0%, transparent 65%);
}

.social-card--tg {
  --card-glow: rgba(42, 171, 238, 0.35);
  --card-accent: #2aabee;
}

.social-card--tg .social-card__glow {
  background: radial-gradient(ellipse at 50% 0%, var(--card-glow) 0%, transparent 65%);
}

.social-card__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-accent-soft);
  color: var(--card-accent);
  transition: transform 0.35s, box-shadow 0.35s;
}

.social-card__icon svg {
  width: 26px;
  height: 26px;
}

.social-card__name {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.social-card__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.social-card__cta {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--card-accent);
  transition: letter-spacing 0.3s;
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent);
  box-shadow: 0 0 40px var(--card-glow), var(--shadow-hover);
}

.social-card:hover .social-card__glow {
  opacity: 1;
}

.social-card:hover .social-card__icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--card-glow);
}

.social-card:hover .social-card__cta {
  letter-spacing: 0.04em;
}

/* ── Gallery ── */

.gallery-section { position: relative; }

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 20px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-filter {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
}

.gallery-filter.active,
.gallery-filter:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.gallery-counter {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  padding: 0;
  display: block;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s, border-color 0.3s,
              opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 36, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__zoom {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-item__label { display: none; }

.gallery-load-more {
  text-align: center;
  margin-top: 28px;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.is-open {
  display: flex;
  animation: fadeIn 0.3s ease;
  padding: 60px 16px 24px;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(8px);
}

.lightbox__toolbar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox__tool {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.lightbox__tool:hover,
.lightbox__tool.is-active {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  max-width: 1100px;
  min-height: 200px;
}

.lightbox__loader {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.lightbox__loader.is-visible { opacity: 1; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: max-width 0.3s, max-height 0.3s;
}

.lightbox__content.is-zoomed {
  overflow: auto;
  max-width: 95vw;
  max-height: 78vh;
  cursor: grab;
}

.lightbox__content.is-zoomed:active { cursor: grabbing; }

.lightbox__image {
  max-width: 90vw;
  max-height: 72vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: zoom-in;
  user-select: none;
}

.lightbox__image.is-zoomed {
  max-width: none;
  max-height: none;
  transform: scale(2) !important;
  cursor: zoom-out;
}

.lightbox__image.slide-out-left  { opacity: 0; transform: translateX(-40px) !important; }
.lightbox__image.slide-out-right { opacity: 0; transform: translateX(40px) !important; }
.lightbox__image.slide-in-left   { opacity: 0; transform: translateX(40px); }
.lightbox__image.slide-in-right  { opacity: 0; transform: translateX(-40px); }
.lightbox__image.is-loaded       { opacity: 1; transform: translateX(0); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox__caption {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 14px;
  max-width: 600px;
  padding: 0 16px;
}

.lightbox__caption-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.lightbox__caption-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.lightbox__info {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.lightbox__thumbs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 16px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: thin;
}

.lightbox__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  padding: 0;
  background: none;
}

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

.lightbox__thumb.active,
.lightbox__thumb:hover {
  opacity: 1;
  border-color: var(--color-accent);
  transform: scale(1.08);
}

/* Videos */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.video-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s, border-color 0.35s;
}

.video-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(24, 119, 242, 0.25) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.video-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231877f2'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 22px;
}

.video-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 32px rgba(24, 119, 242, 0.2), var(--shadow-hover);
  border-color: rgba(24, 119, 242, 0.35);
}

.video-item:hover::before,
.video-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.video-item:hover::after {
  animation: glow-ring 2s ease-in-out infinite;
  --glow-color: rgba(255, 255, 255, 0.35);
}

.video-item__ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-item__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Partners slider */

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partners-slider {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.partners-slider__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners-slider__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.partners-slider__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.section--light .partners-slider__fade--left {
  background: linear-gradient(to right, var(--color-surface), transparent);
}

.section--light .partners-slider__fade--right {
  background: linear-gradient(to left, var(--color-surface), transparent);
}

.partners-slider__track {
  display: flex;
  width: max-content;
  animation: partners-scroll 32s linear infinite;
}

.partners-slider:hover .partners-slider__track {
  animation-play-state: paused;
}

.partners-slider__group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 10px;
}

.partners-slider__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  padding: 14px 20px;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s,
              border-color 0.3s;
}

.partners-slider__item:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.partners-slider__item img {
  max-height: 52px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.partners-slider__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Широкий логотип (Blau-Gelbes Kreuz) */
.partners-slider__item--wide {
  width: 200px;
  background: #ffffff;
}

.partners-slider__item--wide img {
  max-height: 60px;
  max-width: 168px;
}

/* Широкий логотип среднего размера (Dom Polonii) */
.partners-slider__item--md {
  overflow: hidden;
}

.partners-slider__item--md img {
  max-height: 68px;
  max-width: 140px;
  transform: scale(1.45);
}

.partners-slider__item--md:hover img {
  transform: scale(1.5);
}

/* Логотип с большими полями в файле (Volunteers with No Limits) */
.partners-slider__item--zoom {
  overflow: hidden;
}

.partners-slider__item--zoom img {
  max-height: none;
  max-width: none;
  width: 110px;
  height: 110px;
  transform: scale(1.5);
  object-fit: contain;
}

.partners-slider__item--zoom:hover img {
  transform: scale(1.58);
}

/* Footer */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 48px;
  transition: var(--transition-theme);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.1fr;
  gap: 36px;
  padding-bottom: 28px;
}

.footer__col h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #e8edf5;
  font-weight: 700;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li { margin-bottom: 8px; }

.footer__col a {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--color-accent); }

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-footer-text);
  font-size: 0;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}

.footer__social-link:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer__social-link--fb:hover {
  color: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
}

.footer__social-link--ig:hover {
  color: #e1306c;
  border-color: #e1306c;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.35);
}

.footer__social-link--tg:hover {
  color: #2aabee;
  border-color: #2aabee;
  box-shadow: 0 0 20px rgba(42, 171, 238, 0.4);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__payments img {
  height: 28px;
  margin-right: 10px;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.footer__payments img:hover,
.footer__logo:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer__col.reveal {
  transform: translateY(24px);
}

.footer__col.reveal.is-visible {
  transform: translateY(0);
}

.footer__logo {
  height: 34px;
  transition: opacity 0.3s, transform 0.3s;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--color-footer-text);
  text-align: center;
}

/* Back to top */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 90;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.back-to-top.is-visible {
  display: flex;
  animation: scaleIn 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--color-primary-soft);
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal.is-open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal.is-closing {
  display: flex;
  animation: fadeOut 0.26s ease forwards;
}

.modal.is-closing .modal__dialog {
  animation: scaleOut 0.26s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; }
}

@keyframes scaleOut {
  to { opacity: 0; transform: scale(0.94); }
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 640px;
  width: 90%;
  box-shadow: var(--shadow-soft);
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  animation: scaleIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transition: var(--transition-theme);
}

.modal__dialog--wide { max-width: 900px; }

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: var(--color-accent-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}

.modal__close:hover {
  background: var(--color-accent);
  transform: rotate(90deg);
}

.modal__body h3 {
  margin-top: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.modal__body p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  padding: 16px;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  transition: var(--transition-theme);
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-primary);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact form */

.contact-form {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: var(--transition-theme);
}

.contact-form__title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.15rem;
  font-weight: 700;
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
  background: var(--color-surface);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field--checkbox { margin-top: 8px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.checkbox input[type="checkbox"] { margin-top: 3px; accent-color: var(--color-primary); }
.checkbox a { color: var(--color-primary); }

.form-field__error {
  min-height: 16px;
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
}

.form-field__error.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: shake 0.4s ease;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-4px); }
  40%       { transform: translateX(4px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

.contact-form__status {
  margin-top: 12px;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.contact-form__status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form__status--success { color: #16a34a; }
.contact-form__status--error { color: #dc2626; }

.contact-form:focus-within {
  box-shadow: 0 0 0 1px rgba(26, 58, 107, 0.08), 0 0 40px rgba(26, 58, 107, 0.06);
}

/* Policy */

.policy {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.policy p { margin: 18px 0; color: var(--color-text-muted); }

.policy h3 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.policy ul { margin: 12px 0 24px; padding-left: 22px; }
.policy ul li { margin-bottom: 10px; color: var(--color-text-muted); }

.policy-hero { padding: 80px 0; }

.policy-hero .section__title,
.policy-hero .section__subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.policy-hero .section__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
}

.policy-hero .section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Donate */

.donate-tabs {
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 5px;
  background: var(--color-accent-soft);
  margin: 28px auto 32px;
  gap: 4px;
}

.donate-tabs .donate-tab {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all 0.3s;
  font-family: var(--font-body);
}

.donate-tabs .donate-tab:hover:not(.active) {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.donate-tabs .donate-tab.active {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.donate-panel { display: none; }
.donate-panel.active { display: block; }
.donate-panel.active.is-entering { animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1); }

.donate-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 800;
}

.donate-card h4 { margin-top: 18px; margin-bottom: 8px; }

.donate-item { margin-bottom: 12px; font-size: 0.95rem; color: var(--color-text-muted); }

.donate-item--copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.donate-item--copy span { word-break: break-all; }

.donate-sublist { padding-left: 18px; }
.donate-sublist li { margin-bottom: 10px; font-size: 0.9rem; color: var(--color-text-muted); }

.copy-btn.copied { position: relative; }

.copy-btn.copied::after {
  content: "Скопійовано";
  position: absolute;
  top: -24px;
  right: 0;
  font-size: 0.7rem;
  background: #22c55e;
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  animation: scaleIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero__inner,
  .section__inner { grid-template-columns: minmax(0, 1fr); }

  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  #contacts .section__inner { grid-template-columns: minmax(0, 1fr); }
  .contact-form { margin-top: 24px; }

  .social-spotlight__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    z-index: 200;
  }

  .site-header.is-menu-open {
    box-shadow: 0 12px 40px rgba(10, 27, 66, 0.18);
  }

  .header-inner {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    gap: 0 10px;
    position: relative;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .brand__logo { height: 36px; }

  .brand__text {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .header-actions {
    grid-area: actions;
    gap: 8px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .nav {
    grid-area: nav;
    width: 100%;
  }

  .nav__toggle { display: flex; }

  .nav__list {
    position: static;
    flex-direction: column;
    display: flex;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid transparent;
    align-items: stretch;
    gap: 4px;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                padding 0.35s ease,
                border-color 0.3s ease;
  }

  .nav__list.nav__list--open {
    max-height: 70vh;
    opacity: 1;
    pointer-events: auto;
    padding: 12px 0 16px;
    margin-top: 10px;
    border-top-color: var(--color-border);
    overflow-y: auto;
  }

  .nav__list--open .nav__link {
    animation: slideInRight 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav__list--open li:nth-child(1) .nav__link { animation-delay: 0.03s; }
  .nav__list--open li:nth-child(2) .nav__link { animation-delay: 0.05s; }
  .nav__list--open li:nth-child(3) .nav__link { animation-delay: 0.07s; }
  .nav__list--open li:nth-child(4) .nav__link { animation-delay: 0.09s; }
  .nav__list--open li:nth-child(5) .nav__link { animation-delay: 0.11s; }
  .nav__list--open li:nth-child(6) .nav__link { animation-delay: 0.13s; }
  .nav__list--open li:nth-child(7) .nav__link { animation-delay: 0.15s; }
  .nav__list--open li:nth-child(8) .nav__link { animation-delay: 0.17s; }
  .nav__list--open li:nth-child(9) .nav__link { animation-delay: 0.19s; }

  .nav__link {
    display: block;
    padding: 13px 14px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link--active {
    background: var(--color-accent-soft);
    color: var(--color-primary);
    box-shadow: inset 3px 0 0 var(--color-accent);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(10, 18, 36, 0.45);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.25s ease;
  }

  [data-theme="dark"] body.nav-open::before {
    background: rgba(0, 0, 0, 0.55);
  }

  .hero { min-height: 80vh; padding: 90px 0 60px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }

  .lightbox__nav { width: 52px; height: 52px; font-size: 1.3rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }

  .gallery-controls { flex-direction: column; align-items: stretch; }
  .gallery-filters { justify-content: center; }
  .gallery-counter { text-align: center; }
}

@media (max-width: 480px) {
  .cards-grid,
  .team-grid { grid-template-columns: minmax(0, 1fr); }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__metrics { flex-direction: column; }
  .metric { min-width: 100%; }

  .social-spotlight { padding: 64px 0; }
  .social-spotlight__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__social-links { flex-direction: column; align-items: flex-start; }
  .social-glow-btn { width: 100%; justify-content: center; }

  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
}

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

  .partners-slider {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .partners-slider__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 16px;
  }

  .partners-slider__group[aria-hidden="true"] { display: none; }
  .partners-slider__fade { display: none; }
}
