:root {
  --bg: #07121d;
  --bg-soft: #0c1b2d;
  --panel: rgba(16, 26, 39, 0.9);
  --panel-strong: #111f2f;
  --card: rgba(255, 255, 255, 0.02);
  --text: #edf5ff;
  --muted: #a8bfd7;
  --primary: #28c77f;
  --primary-strong: #1ab96b;
  --blue: #3ca8ff;
  --purple: #8a6bff;
  --orange: #ffab5c;
  --gold: #f6c76d;
  --aqua: #4ae8ff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(2, 8, 15, 0.35);
}

body.light-mode {
  --bg: #edf5f2;
  --bg-soft: #f6faf8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #f8fbfa;
  --card: rgba(255, 255, 255, 0.8);
  --text: #13231d;
  --muted: #49615a;
  --primary: #18b584;
  --primary-strong: #149a6f;
  --blue: #2e96db;
  --purple: #6f5fe0;
  --orange: #d88a32;
  --gold: #c79532;
  --aqua: #23b7d9;
  --border: rgba(19, 35, 29, 0.09);
  --shadow: 0 18px 40px rgba(17, 33, 27, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0;
  background: linear-gradient(180deg, #061019 0%, #0a1724 100%);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .brand, .eyebrow {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.02;
  font-weight: 700;
}

body.light-mode {
  background: linear-gradient(180deg, #f7f4ee 0%, #f1efe8 100%);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 16, 25, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

body.light-mode .site-header {
  background: rgba(255, 255, 255, 0.72);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  color: #05151f;
  background: linear-gradient(135deg, var(--primary), var(--aqua));
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a:hover { color: var(--text); }

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

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.donate-nav {
  white-space: nowrap;
  padding-inline: 1.2rem;
  background: linear-gradient(135deg, #ffcb6b, #ff8c42);
  color: #1f1208;
  box-shadow: 0 12px 24px rgba(255, 166, 72, 0.32);
}

.donate-nav:hover {
  box-shadow: 0 18px 32px rgba(255, 166, 72, 0.42);
}

body.light-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(19, 35, 29, 0.09);
}

.donation-page {
  padding: 5rem 0 4rem;
}

.donation-hero {
  padding: 4rem 0 2rem;
}

.donation-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.donation-copy h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 560px;
}

.donation-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.impact-strip div {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.85rem 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.impact-strip strong {
  font-size: 1.2rem;
  color: var(--text);
}

.impact-strip span {
  color: var(--muted);
  font-size: 0.8rem;
}

.donation-visual {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 520px;
  background: #111;
  display: grid;
  gap: 0.8rem;
}

.donor-visual-stack {
  grid-template-rows: 1fr 1fr;
}

.donation-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 20px;
  filter: saturate(1.1) contrast(1.08);
}

.donation-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.5rem 1.2rem;
  box-shadow: var(--shadow);
}

.qr-box {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.qr-box:hover,
.qr-box:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(40, 199, 127, 0.45);
  box-shadow: 0 14px 22px rgba(40, 199, 127, 0.12);
  outline: none;
}

.qr-box img {
  width: min(220px, 72%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  background: white;
  padding: 0.6rem;
  pointer-events: none;
}

.upi-block {
  margin-top: 1.25rem;
  text-align: center;
}

.upi-block .label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.upi-block strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.donation-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

.small-brand {
  display: inline-flex;
}

.why-matters {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

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

.matter-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem 1.2rem;
}

.matter-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(40, 199, 127, 0.12);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.matter-card h3 {
  margin: 0 0 0.7rem;
}

.matter-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-strip {
  padding: 0.5rem 0 1rem;
}

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

.photo-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.donation-wallets {
  padding-top: 1rem;
}

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

.wallet-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.1rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.wallet-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.38rem 0.7rem 0.38rem 0.42rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  border: 1px solid transparent;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-brand.google {
  background: rgba(40, 199, 127, 0.14);
  border-color: rgba(40, 199, 127, 0.2);
  color: #8ef0bd;
}

.wallet-brand.phonepe {
  background: rgba(255, 116, 154, 0.12);
  border-color: rgba(255, 116, 154, 0.2);
  color: #ff9ac5;
}

.wallet-brand.paytm {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
  color: #9ec0ff;
}

.wallet-logo,
.choice-icon {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.wallet-logo img,
.choice-icon img {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  object-fit: contain;
}

.wallet-name {
  line-height: 1;
  white-space: nowrap;
  font-size: 0.62rem;
}

.wallet-brand.google .wallet-logo,
.choice-icon.google {
  background: rgba(26, 115, 232, 0.14);
}

.wallet-brand.phonepe .wallet-logo,
.choice-icon.phonepe {
  background: rgba(103, 57, 214, 0.12);
}

.wallet-brand.paytm .wallet-logo,
.choice-icon.paytm {
  background: rgba(0, 185, 245, 0.12);
}

.wallet-name {
  line-height: 1;
}

.amount-picker {
  margin-top: 1.2rem;
}

.amount-picker .label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}

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

.amount-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 0.82rem 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.amount-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 199, 127, 0.4);
  box-shadow: 0 12px 20px rgba(40, 199, 127, 0.12);
}

.amount-btn:focus-visible {
  outline: 2px solid rgba(40, 199, 127, 0.7);
  outline-offset: 2px;
}

.payment-toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(20px);
  background: rgba(12, 18, 22, 0.94);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  max-width: min(90vw, 500px);
  text-align: center;
}

.payment-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wallet-chooser-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 12, 16, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}

.wallet-chooser-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.wallet-chooser-panel {
  width: min(520px, calc(100% - 1.5rem));
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem 1.1rem;
  position: relative;
}

.wallet-chooser-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.wallet-chooser-panel h3 {
  margin: 0.35rem 0 1.2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.05em;
}

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

.wallet-choice-btn {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.7rem;
  min-height: 110px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  padding: 1rem 0.7rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wallet-choice-btn:hover,
.wallet-choice-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(40, 199, 127, 0.4);
  box-shadow: 0 14px 24px rgba(40, 199, 127, 0.12);
  outline: none;
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
}

.choice-icon.google {
  background: rgba(40, 199, 127, 0.15);
  color: #8ef0bd;
}

.choice-icon.phonepe {
  background: rgba(255, 116, 154, 0.12);
  color: #ff9ac5;
}

.choice-icon.paytm {
  background: rgba(59, 130, 246, 0.12);
  color: #9ec0ff;
}

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

  .donation-visual {
    min-height: 320px;
  }

  .matters-grid,
  .photo-gallery,
  .wallet-grid,
  .amount-grid {
    grid-template-columns: 1fr;
  }

  .wallet-brand {
    display: inline-flex;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.28rem 0.5rem;
    max-width: 100%;
  }

  .wallet-logo,
  .wallet-logo img {
    width: 0.95rem;
    height: 0.95rem;
  }

  .wallet-name {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .wallet-chooser-panel {
    width: min(94vw, 420px);
    padding: 1.2rem 0.9rem 0.9rem;
  }

  .wallet-chooser-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .wallet-choice-btn {
    min-height: 74px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
  }

  .choice-icon {
    width: 2.7rem;
    height: 2.7rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

button.btn {
  appearance: none;
  -webkit-appearance: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #45d5a3);
  color: #071d17;
  box-shadow: 0 12px 26px rgba(40, 199, 127, 0.25);
}

.btn.donate-nav {
  background: linear-gradient(135deg, #ffcb6b, #ff8c42);
  color: #1f1208;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(255, 166, 72, 0.32);
}

.btn.donate-nav:hover {
  box-shadow: 0 18px 32px rgba(255, 166, 72, 0.42);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

body.light-mode .btn-secondary,
body.light-mode .btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(19, 35, 29, 0.1);
  color: var(--text);
}

body.light-mode .info-card,
body.light-mode .step-card,
body.light-mode .panel-box,
body.light-mode .price-card,
body.light-mode .faq-item,
body.light-mode .stat-box,
body.light-mode .dashboard-card,
body.light-mode .metric-box,
body.light-mode .workflow-card,
body.light-mode .floating-note,
body.light-mode .cta-box,
body.light-mode .modal-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(19, 35, 29, 0.08);
  box-shadow: var(--shadow);
}

body.light-mode .dark-surface,
body.light-mode .logo-strip,
body.light-mode .site-footer,
body.light-mode .modal-backdrop {
  background: rgba(255, 255, 255, 0.74);
}

body.light-mode .logo-row span {
  color: rgba(19, 35, 29, 0.7);
}

body.light-mode .project-form input,
body.light-mode .project-form select,
body.light-mode .project-form textarea {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(19, 35, 29, 0.1);
  color: var(--text);
}

body.light-mode .main-nav,
body.light-mode .hero-points,
body.light-mode .check-list,
body.light-mode .info-card p,
body.light-mode .step-card p,
body.light-mode .panel-box p,
body.light-mode .price-card p,
body.light-mode .faq-answer p,
body.light-mode .lead,
body.light-mode .section-heading h2,
body.light-mode .stat-box span,
body.light-mode .site-footer p,
body.light-mode .project-form label,
body.light-mode .project-form textarea,
body.light-mode .project-form input,
body.light-mode .project-form select {
  color: var(--text);
}

body.light-mode .site-footer {
  background: rgba(255, 255, 255, 0.78);
}

body.light-mode .modal-backdrop {
  background: rgba(17, 33, 27, 0.18);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  background: var(--text);
  margin: 0.2rem 0;
  border-radius: 99px;
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(40, 199, 127, 0.18), transparent 24%),
              radial-gradient(circle at 75% 10%, rgba(60, 168, 255, 0.18), transparent 30%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0 0 1.2rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  gap: 1rem 1.5rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.5rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.dashboard-card {
  width: min(100%, 500px);
  padding: 1.5rem 1.3rem 1.25rem;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.window-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.window-header span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ff5f6d;
}

.window-header span:nth-child(2) { background: #ffbe4c; }
.window-header span:nth-child(3) { background: #29d17d; }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.metric-box {
  padding: 1rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.metric-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.metric-box strong {
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.05em;
}

.metric-box.accent {
  background: linear-gradient(135deg, rgba(40, 199, 127, 0.12), rgba(60, 168, 255, 0.08));
}

.workflow-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.flow-row:last-child { margin-bottom: 0; }

.chip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.chip.green { background: rgba(40, 199, 127, 0.12); color: #9cf2ce; }
.chip.purple { background: rgba(138, 107, 255, 0.16); color: #d4c9ff; }
.chip.blue { background: rgba(60, 168, 255, 0.12); color: #cfe7ff; }
.chip.orange { background: rgba(255, 171, 92, 0.12); color: #ffd7ae; }

.flow-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  display: block;
  position: relative;
}

.flow-line::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.floating-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(10, 19, 17, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.floating-note small {
  display: block;
  color: var(--muted);
}

.tip-row { display: block; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(40, 199, 127, 0.6);
}

.dot.green { background: var(--blue); }

.top-right { right: 0; top: 70px; }
.bottom-left { left: 10px; bottom: 40px; }

.logo-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.1rem 0;
  justify-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.step-card,
.panel-box,
.price-card,
.faq-item,
.stat-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.info-card {
  padding: 1.5rem 1.2rem;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.icon-wrap.green { background: rgba(40, 199, 127, 0.12); }
.icon-wrap.purple { background: rgba(138, 107, 255, 0.12); }
.icon-wrap.blue { background: rgba(60, 168, 255, 0.12); }
.icon-wrap.rose { background: rgba(255, 118, 168, 0.12); }
.icon-wrap.orange { background: rgba(255, 171, 92, 0.12); }
.icon-wrap.cyan { background: rgba(74, 232, 255, 0.12); }
.icon-wrap.gold { background: rgba(246, 199, 109, 0.12); }

.service-header h3 {
  margin: 0;
}

.info-card h3,
.step-card h3,
.panel-box h3,
.price-card h3 {
  margin: 0 0 0.8rem;
}

.info-card ul,
.price-card ul {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.info-card ul li::before,
.price-card li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.6rem;
}

.dark-surface {
  background: linear-gradient(180deg, rgba(8, 18, 16, 0.9), rgba(12, 19, 18, 0.95));
}

.split-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.check-list div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.check-list span {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(40, 199, 127, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.vertical-panels {
  display: grid;
  gap: 1rem;
}

.panel-box {
  padding: 1.5rem;
}

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

.step-card {
  padding: 1.5rem 1.2rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stats-section {
  padding: 0 0 5rem;
}

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

.stat-box {
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(40, 199, 127, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-tag {
  display: block;
  margin-top: 1.1rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 0.85rem;
}

.price-card p {
  margin-bottom: 1.2rem;
}

.price-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

.single-plan {
  max-width: 760px;
  margin: 0 auto;
}

.faq-section {
  padding-top: 6rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 1.3rem 1.4rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.4rem;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.faq-item.active .faq-answer {
  max-height: 260px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
}

.cta-section {
  padding: 2rem 0 5rem;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.8rem;
  background: linear-gradient(135deg, rgba(13, 29, 35, 0.9), rgba(7, 15, 17, 0.95));
  border-radius: 28px;
  border: 1px solid var(--border);
}

.cta-box h2 {
  margin: 0;
  letter-spacing: -0.05em;
  font-size: clamp(2rem, 3vw, 3rem);
}

.site-footer {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 17, 15, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  width: min(720px, calc(100% - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  letter-spacing: -0.04em;
}

.project-form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  padding: 0.9rem 1rem;
}

textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(40, 199, 127, 0.2);
  border-color: rgba(40, 199, 127, 0.5);
}

.modal-submit {
  width: fit-content;
}

.form-success {
  display: none;
  color: var(--primary);
  margin: 0;
}

.form-success.visible {
  display: block;
}

.scroll-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.2rem;
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  z-index: 25;
  box-shadow: 0 12px 28px rgba(10, 18, 25, 0.22), 0 0 0 1px rgba(255,255,255,0.08), 0 0 24px rgba(80, 176, 255, 0.18);
}

body.light-mode .scroll-top {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(242, 248, 250, 0.8));
  border-color: rgba(14, 39, 58, 0.12);
  box-shadow: 0 14px 32px rgba(17, 33, 27, 0.12), 0 0 0 1px rgba(255,255,255,0.7), 0 0 24px rgba(45, 125, 214, 0.18);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: rgba(60, 168, 255, 0.55);
  box-shadow: 0 16px 36px rgba(10, 18, 25, 0.28), 0 0 0 1px rgba(255,255,255,0.18), 0 0 28px rgba(80, 176, 255, 0.28);
}

.donate-float {
  position: fixed;
  right: 1.4rem;
  bottom: 11.8rem;
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcb6b, #ff8c42);
  color: #1f1208;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 20px 48px rgba(255, 152, 69, 0.5);
  z-index: 30;
  border: 3px solid rgba(255, 255, 255, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-float:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 24px 56px rgba(255, 152, 69, 0.62);
}

.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 6.7rem;
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fbf5f);
  box-shadow: 0 20px 48px rgba(37, 211, 102, 0.52);
  z-index: 30;
  border: 3px solid rgba(255, 255, 255, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2.2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 24px 56px rgba(22, 174, 96, 0.62);
}

.whatsapp-float svg {
  width: 2.35rem;
  height: 2.35rem;
  fill: white;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 20px 48px rgba(37, 211, 102, 0.52);
  }
  50% {
    box-shadow: 0 22px 56px rgba(37, 211, 102, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .scroll-top {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-block,
  .cta-box,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .three-up,
  .steps-grid,
  .stats-grid,
  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: rgba(7, 16, 25, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .donation-shell {
    grid-template-columns: 1fr;
  }

  .donation-visual {
    min-height: 330px;
  }

  .matters-grid,
  .photo-gallery,
  .wallet-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .three-up,
  .steps-grid,
  .stats-grid,
  .logo-row,
  .form-grid,
  .matters-grid,
  .photo-gallery,
  .wallet-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    align-items: center;
  }

  .nav-actions {
    width: 100%;
    gap: 0.5rem;
    justify-content: stretch;
  }

  .nav-actions .btn {
    flex: 1 1 0;
    width: auto;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .hero-actions,
  .donation-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .donation-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .photo-gallery img {
    height: 220px;
  }

  .wallet-card,
  .matter-card,
  .info-card,
  .step-card,
  .price-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 4.4rem;
    height: 4.4rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 6.4rem;
    width: 4.4rem;
    height: 4.4rem;
    border-width: 3px;
  }
}
