:root {
  --bg: #0b1118;
  --bg-soft: #121a24;
  --card: rgba(14, 24, 35, 0.82);
  --line: rgba(115, 157, 204, 0.28);
  --text: #ecf2fb;
  --muted: #a6b8cc;
  --blue: #3498ff;
  --blue-strong: #1c6fd5;
  --highlight: #8fc6ff;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #1f2f45 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, #1a365f 0%, transparent 28%),
    linear-gradient(155deg, #070d14 0%, #111927 50%, #0b1118 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: var(--highlight);
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 20, 0.78);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  display: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

nav a {
  color: var(--text);
  font-weight: 600;
  padding: 0.56rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.28s ease;
}

nav a:hover,
nav a.active {
  border-color: var(--line);
  background: rgba(52, 152, 255, 0.12);
  transform: translateY(-1px);
}

.hero {
  padding: 5.6rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8cfff;
}

h1 {
  font-size: clamp(2rem, 5.1vw, 3.5rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.06rem;
  max-width: 62ch;
}

.hero-cta {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(52, 152, 255, 0.22);
}

.btn-primary {
  color: #eef7ff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  border-color: rgba(211, 230, 255, 0.25);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(170deg, rgba(28, 44, 68, 0.75), rgba(9, 18, 28, 0.86));
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.2rem;
  color: #d4e5fa;
}

.hero-panel li {
  margin-bottom: 0.7rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2.6rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.gallery-block,
.donation-wrap {
  padding: 2.4rem 0;
}

.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

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

.gallery-item {
  border: 1px solid var(--line);
  padding: 0;
  margin: 0;
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.32);
}

.gallery-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.donation-card {
  background: linear-gradient(175deg, rgba(19, 31, 47, 0.95), rgba(12, 18, 27, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.donation-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0a121b;
  padding: 0.4rem;
}

.donation-card div {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  background: rgba(5, 9, 15, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-grid h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.fallback-content {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: linear-gradient(120deg, #18b54e, #0b8d39);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 10, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  width: min(92vw, 1100px);
  max-height: 85vh;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: contain;
  background: #0b1118;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  font-size: 2rem;
  line-height: 1;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.section-animate {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  nav {
    position: absolute;
    top: 84px;
    right: 4vw;
    left: 4vw;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 13, 20, 0.98);
    padding: 0.6rem;
    display: grid;
    gap: 0.35rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.24s ease;
  }

  nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .info-cards,
  .gallery-grid,
  .donation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid.two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .gallery-item img {
    height: 240px;
  }

  .donation-card img {
    height: auto;
    min-height: 220px;
    max-height: 420px;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    min-height: 74px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero-cta {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .floating-whatsapp {
    right: 0.8rem;
    left: 0.8rem;
    text-align: center;
  }

  .lightbox-close {
    width: 44px;
    height: 44px;
  }
}
