/* ===== Reset & Design Tokens ===== */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #eff6ff;
  --brand-2: #0ea5e9;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --success: #16a34a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.6);
}
.logo-text { font-size: 0.95rem; letter-spacing: -0.01em; }

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
  margin-right: 12px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--brand-light); color: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 30%, rgba(14, 165, 233, 0.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-light { background: rgba(255, 255, 255, 0.2); color: #fff; }

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.grad {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.lede strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-socials { display: flex; gap: 12px; align-items: center; }
.hero-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color .2s ease, transform .15s ease, border-color .2s ease;
}
.hero-socials a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 460px;
}
.blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  opacity: 0.12;
  animation: blob 18s ease-in-out infinite;
  z-index: 0;
}
@keyframes blob {
  0%, 100% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  50% { border-radius: 55% 45% 40% 60% / 45% 60% 45% 55%; }
}
.stat-card {
  position: absolute;
  background: #fff;
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}
.stat-card .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.sc-1 { top: 40px; left: 20px; animation-delay: 0s; }
.sc-2 { top: 180px; right: 20px; animation-delay: -2s; }
.sc-3 { bottom: 40px; left: 80px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Impact Strip ===== */
.impact-strip {
  background: var(--ink);
  color: #fff;
  padding: 40px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-grid > div { display: flex; flex-direction: column; gap: 4px; }
.strip-grid .big {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-2);
  line-height: 1;
}
.strip-grid span:not(.big) { font-size: 0.85rem; color: #cbd5e1; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 12px 0 0; }
h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 800;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col p { color: var(--muted); font-size: 1.02rem; }
.two-col p strong { color: var(--ink); font-weight: 600; }

.link-arrow {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 600;
  border-bottom: 2px solid var(--brand-light);
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.link-arrow:hover { border-bottom-color: var(--brand); }

.quote-card {
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow);
}
.quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--brand);
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: 10px;
}
.quote-card p {
  font-size: 1.15rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 24px;
  font-weight: 500;
}
.quote-author { display: flex; flex-direction: column; }
.quote-author strong { color: var(--ink); font-weight: 700; }
.quote-author span { color: var(--muted); font-size: 0.9rem; }

/* Testimonials strip inside About */
.testimonials { margin-top: 70px; }
.testimonials-heading {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.tc-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.5;
  color: var(--brand);
  opacity: 0.35;
  margin-bottom: 12px;
}
.testimonial-card p {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 20px;
}
.tc-author { display: flex; flex-direction: column; }
.tc-author strong { color: var(--ink); font-weight: 700; font-size: 0.95rem; }
.tc-author span { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--icon-bg, var(--brand-light));
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; margin: 0 0 10px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1 / 1;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.5));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.ga-tall { grid-row: span 2; }
.ga-wide { grid-column: span 2; }
.gallery-cta { text-align: center; margin-top: 40px; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: min(1000px, 92vw);
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
  font-family: inherit;
  line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
.lb-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lb-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 30px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Feed CTA */
.feed-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.feed-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* Milestones */
.milestones h3 { text-align: center; font-size: 1.4rem; margin: 0 0 30px; font-weight: 700; }
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
  margin-inline: auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  display: flex;
  gap: 30px;
  padding: 14px 0 14px 0;
  align-items: baseline;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 56px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--brand-light);
}
.tl-year {
  min-width: 50px;
  font-weight: 800;
  color: var(--brand);
  font-size: 1rem;
}
.tl-text { color: var(--ink-2); font-size: 1rem; padding-left: 30px; }

/* ===== Donate ===== */
.donate {
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(37, 99, 235, 0.25), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}
.donate .eyebrow { background: rgba(37, 99, 235, 0.2); color: #dbeafe; }
.donate-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.donate-copy h2 { color: #fff; }
.donate-copy p { color: #cbd5e1; font-size: 1.05rem; }
.donate-list { list-style: none; padding: 0; margin: 24px 0; }
.donate-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.donate-list strong { color: var(--brand-2); font-weight: 700; margin-right: 8px; }
.donate-list li:last-child { border-bottom: none; }
.donate-note {
  font-size: 0.85rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 18px;
  border-radius: 10px;
  border-left: 3px solid var(--brand);
  margin-top: 20px;
}

.qr-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: var(--ink);
}
.qr-header {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.qr-image {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-image img, .qr-image canvas { width: 100%; height: 100%; }
.qr-upi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.qr-upi span { color: var(--muted); font-weight: 500; }
.qr-upi code {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--ink);
  background: none;
}
.qr-copy {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.qr-copy:hover { background: var(--brand-dark); }
.qr-apps { font-size: 0.8rem; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.cc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}
.cc-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.cc-value { font-size: 1.05rem; font-weight: 700; color: var(--ink); }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-tag { color: #94a3b8; font-size: 0.9rem; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer-cols h4 { color: #fff; margin: 0 0 12px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.footer-cols a { display: block; padding: 6px 0; color: #cbd5e1; font-size: 0.95rem; transition: color .15s ease; }
.footer-cols a:hover { color: var(--brand-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5);
  z-index: 40;
  animation: pulse 2s ease-in-out infinite;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity .2s ease, transform .3s ease;
  z-index: 100;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner .btn-primary { display: none; }
  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 320px; max-width: 380px; margin: 0 auto; }
  .sc-1 { top: 20px; left: 0; }
  .sc-2 { top: 130px; right: 0; }
  .sc-3 { bottom: 20px; left: 60px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card { padding: 24px 20px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonials { margin-top: 50px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .feed-cta { flex-direction: column; align-items: flex-start; text-align: left; padding: 24px; }
  .donate-card { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 520px) {
  .logo-text { display: none; }
  h1 { font-size: 2.4rem; }
  .lede { font-size: 1.05rem; }
  .cards { grid-template-columns: 1fr; }
  .strip-grid .big { font-size: 1.8rem; }
  .qr-image { width: 180px; height: 180px; }
  .timeline::before { left: 50px; }
  .timeline li::before { left: 46px; }
  .tl-year { min-width: 40px; font-size: 0.9rem; }
  .wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Events loaded from events.json */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.event-card img,
.event-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #eff6ff, #fef3c7);
}

.event-card-placeholder {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 2rem;
}

.event-card-body { padding: 20px; }
.event-card-body h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.event-card-body p { color: var(--muted); margin: 0 0 14px; }
.event-location { font-weight: 700; color: var(--text) !important; }

.event-meta,
.event-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .86rem;
}

.event-meta span:first-child {
  background: #eff6ff;
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.event-footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 12px;
}

.event-footer a { color: var(--primary); font-weight: 700; }
.empty-note { color: var(--muted); text-align: center; }

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