/* El Color de la Diversidad A.C. — v5
   Paleta oficial: Azul marino #0F1756 | Púrpura #835AA3 | Naranja #F06D22 */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: "Quicksand", system-ui, sans-serif;
  color: #1e2130;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --navy: #0F1756;
  --purple: #835AA3;
  --orange: #F06D22;
  --muted: #5a5f73;
  --line: #e4e6ef;
  --soft: #f4f5fb;
}

h1, h2, h3, h4 {
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.5em;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(15, 23, 86, 0.08);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  max-width: 1180px;
  margin: 0 auto;
  width: 92%;
}
.logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.logo {
  display: block;
  width: clamp(160px, 28vw, 250px);
  max-width: 250px;
  height: auto;
  aspect-ratio: 3155 / 779;
  object-fit: contain;
}
.site-header .nav-link {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.site-header.scrolled .nav-link {
  color: var(--navy);
  text-shadow: none;
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.is-active {
  color: var(--purple);
}
.site-header .nav-link:hover,
.site-header .nav-link.is-active {
  color: #fff;
  opacity: 0.95;
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.is-active {
  color: var(--orange);
  opacity: 1;
}
.main-nav a.nav-link {
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding-bottom: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a.nav-link.is-active {
  border-bottom-color: var(--orange);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
}
.main-nav a {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:not(.btn-nav-donar):hover {
  background: rgba(255, 255, 255, 0.12);
}
.site-header.scrolled .main-nav a:not(.btn-nav-donar):hover {
  background: rgba(131, 90, 163, 0.1);
}

.btn-nav-donar {
  background: var(--orange);
  color: #fff !important;
  text-shadow: none !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(240, 109, 34, 0.35);
}
.btn-nav-donar:hover {
  filter: brightness(1.06);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header.scrolled .menu-toggle span {
  background: var(--navy);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: flex; order: 2; margin-left: auto; }
  .logo-link { order: 1; flex: 1; min-width: 0; }
  .main-nav { order: 3; }
  .logo {
    width: clamp(150px, 55vw, 250px);
    max-width: 250px;
  }
  .nav-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 86, 0.12);
    display: none;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav a {
    color: var(--navy) !important;
    text-shadow: none !important;
    padding: 14px 12px !important;
  }
  .main-nav a.btn-nav-donar {
    text-align: center;
    margin-top: 8px;
  }
}

/* ========== HERO ========== */
.hero-v5 {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 100px;
  background: var(--navy) url("../assets/img/hero-principal.png") center / cover no-repeat;
}
.hero-v5::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 86, 0.82) 0%,
    rgba(15, 23, 86, 0.45) 40%,
    rgba(15, 23, 86, 0.2) 70%,
    rgba(131, 90, 163, 0.15) 100%
  );
}
.hero-v5 .container {
  position: relative;
  z-index: 1;
}
.hero-v5 h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 720px;
  margin-bottom: 0.45em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.hero-v5 .lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(240, 109, 34, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(240, 109, 34, 0.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-badges .badge i { color: #ffd699; }
.hero-badges .badge-link {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero-badges .badge-link:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.hero-wave {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: -1px;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 80px);
}

/* ========== STATS STRIP ========== */
.stats-strip {
  background: #fff;
  padding: 48px 0 56px;
  margin-top: -2px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--purple);
  font-weight: 700;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 6px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 88px 0;
}
.section--soft {
  background: var(--soft);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p {
  color: #3a3f52;
  margin-bottom: 1em;
  font-size: 1.03rem;
}
.about-media {
  position: relative;
  min-height: 380px;
}
.about-img-main {
  position: absolute;
  width: 72%;
  top: 0;
  left: 0;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 20px 50px rgba(15, 23, 86, 0.18);
  border: 6px solid #fff;
}
.about-img-sec {
  position: absolute;
  width: 52%;
  bottom: 0;
  right: 0;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 16px 40px rgba(15, 23, 86, 0.15);
  border: 6px solid var(--orange);
}
.about-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.about-strip img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 32px rgba(15, 23, 86, 0.12);
  border: 4px solid #fff;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(15, 23, 86, 0.06);
  border-top: 4px solid var(--purple);
}
.mvv-card:nth-child(1) { border-top-color: var(--navy); }
.mvv-card:nth-child(3) { border-top-color: var(--orange); }
.mvv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), #a47fc4);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.mvv-card:nth-child(1) .mvv-icon {
  background: linear-gradient(135deg, var(--navy), #2a3a9e);
}
.mvv-card:nth-child(3) .mvv-icon {
  background: linear-gradient(135deg, var(--orange), #ff9a5c);
}
.mvv-card p { color: var(--muted); margin: 0 0 0.75em; font-size: 0.98rem; }
.mvv-card p:last-child { margin-bottom: 0; }
.mvv-tagline {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  color: var(--orange) !important;
  font-size: 0.95rem !important;
}
.mvv-values-head {
  font-family: Fredoka, sans-serif;
  font-weight: 700;
  font-size: 0.88rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--purple) !important;
}
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #3a3f52;
  padding: 6px 0;
  font-size: 0.95rem;
}
.values-list i { color: var(--orange); }

/* Tabs servicios */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tab:hover { border-color: var(--purple); }
.tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.tab.active i { color: #ffc48a; }

.tab-panel { display: none; animation: fadeUp 0.4s ease; scroll-margin-top: 100px; }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15, 23, 86, 0.1);
  border-color: rgba(131, 90, 163, 0.35);
}
.svc-card i {
  color: var(--orange);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.svc-card h4 { font-size: 1.05rem; margin-bottom: 0.35em; }
.svc-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: 20px;
  padding: 32px 26px;
  color: #fff;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15, 23, 86, 0.25);
}
.project-card:nth-child(1) {
  background: linear-gradient(145deg, var(--navy), #1c2a82);
}
.project-card:nth-child(2) {
  background: linear-gradient(145deg, var(--purple), #9d73bc);
}
.project-card:nth-child(3) {
  background: linear-gradient(145deg, var(--orange), #ff8f4a);
}
.project-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.project-card h3 { color: #fff; }
.project-card p {
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
  font-size: 0.96rem;
}
.project-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.project-link:hover {
  border-color: #fff;
  gap: 12px;
}

/* Donar */
.donate-section {
  background: linear-gradient(160deg, var(--navy) 0%, #2d1f5c 55%, var(--purple) 100%);
  color: #fff;
  padding: 88px 0;
}
.donate-section h2 { color: #fff; }
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.donate-section .eyebrow {
  color: #ffd4bc;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
}
.donate-section p { color: rgba(255, 255, 255, 0.92); }
.donate-benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.donate-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.donate-benefits i {
  color: #ffc48a;
  margin-top: 3px;
}
.donate-programs {
  margin-top: 28px;
}
.donate-programs h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.program-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.program-chips a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.program-chips a:hover {
  background: rgba(255, 255, 255, 0.18);
}
.program-chips i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: #fff;
}
.donate-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  margin-top: 20px;
}

.donate-card {
  background: #fff;
  color: var(--navy);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border-top: 4px solid var(--navy);
}
.donate-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.donate-card-head i {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #ff9a5c);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.donate-card-head h3 { margin: 0; color: var(--navy); }
.donate-card-head span { font-size: 0.88rem; color: var(--muted); }
.bank-list > div {
  background: var(--soft);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.bank-list dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.bank-list dd {
  margin: 4px 0 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  word-break: break-all;
}
.copy-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.copy-btn:hover { background: var(--purple); }
.copy-btn.copied { background: #1a8f5e; }

.paypal-donate {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.paypal-donate .donate-card-head {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.paypal-donate .donate-card-head i {
  background: linear-gradient(135deg, #003087, #009cde);
}
.btn-paypal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  background: #003087;
  color: #fff;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-paypal-link:hover {
  background: #00256b;
  transform: translateY(-2px);
}
.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
}

/* Galería (rejilla uniforme, esquinas redondeadas) */
.gallery-v5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-v5 .gal-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
}
.gallery-v5 .gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-v5 .gal-item:hover img {
  transform: scale(1.06);
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.contact-list li {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.contact-list i { color: var(--orange); font-size: 1.2rem; margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { color: var(--purple); font-weight: 600; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.soc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.soc i {
  color: #fff;
}
.soc:hover {
  transform: translateY(-2px);
  background: var(--purple);
  color: #fff;
}
.soc:hover i {
  color: #fff;
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}
.contact-form span {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(131, 90, 163, 0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-status {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.success { color: #1a8f5e; }
.form-status.error { color: #c42d2d; }

/* Footer */
.site-footer {
  background: #eef0f7;
  padding: 64px 0 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo {
  width: clamp(160px, 30vw, 250px);
  max-width: 250px;
  height: auto;
  aspect-ratio: 3155 / 779;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand p,
.footer-col p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--navy);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: #3a3f52;
  font-weight: 500;
}
.footer-col a:hover { color: var(--orange); }
.footer-col a.soc,
.footer-col a.soc:hover {
  color: #fff;
}

.footer-form .mini-field {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  font-family: inherit;
}
.footer-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.95rem;
}

.footer-follow {
  margin-top: 18px;
}
.footer-follow h4 {
  font-family: Fredoka, sans-serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  background: #e8eaf3;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 86, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 12px;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(240, 109, 34, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-btn:hover { transform: scale(1.06); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up { transform: translateY(40px); }
.reveal.fade-up.visible { transform: translateY(0); }

@media (max-width: 960px) {
  .about-grid,
  .donate-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mvv-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .about-media { min-height: 320px; }
  .about-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
