/* ===== BASTA, BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css');

:root {
  --red: #C1121F;
  --red-dark: #8B0000;
  --red-light: #F5E6E7;
  --blue: #0D1B5E;
  --blue-mid: #1A2F8A;
  --blue-light: #E8EBF5;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --light: #F0F2F7;
  --border: #DDE1EC;
  --dark: #0A0C1A;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --gold: #E8A000;
  --green: #057A55;

  --shadow-sm: 0 2px 4px rgba(13, 27, 94, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(13, 27, 94, 0.12), 0 4px 10px -5px rgba(13, 27, 94, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(13, 27, 94, 0.2), 0 8px 20px -8px rgba(13, 27, 94, 0.1);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 18px;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.15;
}

.label-upper {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.premium-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
}

.premium-gradient-red {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  color: var(--white);
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: auto;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 27, 94, 0.08);
}

.form-control::placeholder {
  color: var(--gray-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 12px rgba(13, 27, 94, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--red);
}

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

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray);
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-links a.active {
  color: var(--red);
  background: var(--red-light);
}

.nav-links a .mdi {
  font-size: 1.1rem;
}

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

.nav-donate {
  background: var(--red);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-donate:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav-member {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
}

.nav-member:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 72px 80px 64px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(193, 18, 31, 0.18);
  pointer-events: none;
}

.page-hero .label-upper {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  display: block;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 560px;
}

.page-hero.red-hero {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
}

.page-hero.light-hero {
  background: var(--off-white);
  color: var(--dark);
}

.page-hero.light-hero .label-upper {
  color: var(--red);
}

.page-hero.light-hero p {
  color: var(--gray);
  opacity: 1;
}

/* ===== SECTION ===== */
.section {
  padding: 64px 80px;
}

.section-alt {
  background: var(--off-white);
}

.section-header {
  margin-bottom: 36px;
}

.section-header .label-upper {
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--gray);
  margin-top: 8px;
  font-size: 0.97rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.2s;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card-icon.red {
  background: var(--red-light);
  color: var(--red);
}

.card-icon.blue {
  background: var(--blue-light);
  color: var(--blue);
}

.card-icon.gold {
  background: #FDF3DC;
  color: var(--gold);
}

.card-icon.green {
  background: #E6F4EF;
  color: var(--green);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== STATS BAR ===== */
.stats-band {
  background: var(--blue);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 56px 80px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand-name span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.social-icon:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col ul li a .mdi {
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 26, 0.6);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 92%;
  position: relative;
  animation: modalIn 0.3s ease;
  box-shadow: var(--shadow-lg);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray);
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--border);
  color: var(--dark);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--green);
}

.toast.error {
  background: var(--red);
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-red {
  background: var(--red-light);
  color: var(--red);
}

.badge-blue {
  background: var(--blue-light);
  color: var(--blue);
}

.badge-green {
  background: #E6F4EF;
  color: var(--green);
}

.badge-gold {
  background: #FDF3DC;
  color: #9A6A00;
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--off-white);
  border-bottom: 1.5px solid var(--border);
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}

.data-table tr:hover td {
  background: var(--off-white);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .section,
  .page-hero,
  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .section,
  .page-hero,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== PAYMENT GRID ===== */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.payment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
}

.payment-btn .mdi {
  font-size: 1.6rem;
  color: var(--blue);
}

.payment-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.payment-btn:hover .mdi {
  color: var(--blue);
}

/* M-Pesa accent */
.payment-btn:nth-child(1):hover {
  border-color: #E30613;
  background: #FEF0F0;
  color: #E30613;
}

.payment-btn:nth-child(1):hover .mdi {
  color: #E30613;
}

/* e-Mola accent */
.payment-btn:nth-child(2):hover {
  border-color: #FF6B00;
  background: #FFF3EB;
  color: #FF6B00;
}

.payment-btn:nth-child(2):hover .mdi {
  color: #FF6B00;
}

/* Security note */
.payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-light);
  margin-top: 12px;
  padding: 10px;
  background: var(--off-white);
  border-radius: var(--radius);
}

/* ===== AMOUNT GROUP ===== */
.amount-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.amount-btn {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
}

.amount-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.amount-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.amount-btn--other {
  border-style: dashed;
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 26, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--red-light);
  color: var(--red);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal-sub {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .modal-box {
    padding: 32px 24px;
  }

  .modal-title {
    font-size: 1.3rem;
  }
}

/* ===== RESPONSIVENESS ===== */
.hide-mobile {
  display: flex;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--blue);
}

/* MOBILE MENU DRAWER */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 26, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 24px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-content {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.menu-close {
  background: var(--light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.mobile-nav-links a.active {
  background: var(--red-light);
  color: var(--red);
}

.mobile-actions {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .section {
    padding: 48px 40px;
  }

  .page-hero {
    padding: 60px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .hide-mobile {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .site-nav {
    padding: 0 20px;
  }

  .nav-donate {
    padding: 7px 14px;
    font-size: 0.75rem;
  }

  .page-hero {
    padding: 48px 24px;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .page-hero p {
    margin: 0 auto;
    font-size: 0.95rem;
  }

  .section {
    padding: 40px 24px;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .two-col {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Specific view stacks */
  .join-grid {
    grid-template-columns: 1fr !important;
  }

  .values-grid {
    grid-template-columns: 1fr !important;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .vol-grid {
    grid-template-columns: 1fr !important;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr !important;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat-item:nth-child(even) {
    border-left: none;
  }

  .amount-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .pay-methods {
    grid-template-columns: 1fr !important;
  }
}