/* ============================================================
   Epilepsy Foundation of Southeast Tennessee — Shared Styles
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #6B3FA0;
  --purple-dark:  #4A2470;
  --purple-light: #9B6FD0;
  --purple-pale:  #F3EEF9;
  --flame:        #F7941D;
  --flame-dark:   #D97A0F;
  --gray-900:     #1A1A2E;
  --gray-700:     #444466;
  --gray-500:     #777799;
  --gray-200:     #E8E8F0;
  --gray-100:     #F5F5FA;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 3px rgba(107,63,160,.12);
  --shadow-md:    0 4px 16px rgba(107,63,160,.15);
  --shadow-lg:    0 8px 32px rgba(107,63,160,.18);
  --radius:       10px;
  --radius-lg:    18px;
  --transition:   .22s ease;
  --max-width:    1160px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 680px;
}

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: .6rem;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

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

.btn-donate {
  background: var(--flame);
  color: var(--white);
  border-color: var(--flame);
}
.btn-donate:hover {
  background: var(--flame-dark);
  border-color: var(--flame-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(247,148,29,.35);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--purple-pale);
  color: var(--purple-dark);
  transform: translateY(-1px);
}

/* --- Language Bar ----------------------------------------- */
.lang-bar {
  background: var(--purple-dark);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 5px 0;
}
.lang-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.lang-bar-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-divider {
  color: rgba(255,255,255,.35);
  font-size: .8rem;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: .75rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 8px;
  transition: background .15s, color .15s, border-color .15s;
}
.lang-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.lang-btn.lang-active {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--white);
}
.mobile-lang-toggle {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 8px;
}
.mobile-lang-toggle .lang-btn {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  font-size: .82rem;
  border-color: var(--gray-300);
  color: var(--gray-600);
}
.mobile-lang-toggle .lang-btn:hover,
.mobile-lang-toggle .lang-btn.lang-active {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--white);
}

/* Hide Google Translate's default top bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; }

/* --- Navigation ------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.nav-logo img { height: 52px; width: auto; }

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

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--purple);
  background: var(--purple-pale);
}

/* Dropdown */
.nav-links .dropdown { display: none; }
.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  padding-top: 12px;
  margin-top: 0;
  z-index: 200;
}
/* Invisible bridge fills the gap between nav item and dropdown */
.nav-links li:hover .dropdown::before,
.nav-links li:focus-within .dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-links .dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: .88rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.nav-links .dropdown a:hover {
  background: var(--purple-pale);
  color: var(--purple);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 10px 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius);
}
.mobile-nav a:hover { color: var(--purple); background: var(--purple-pale); }
.mobile-nav .mobile-sub a {
  padding-left: 28px;
  font-weight: 400;
  font-size: .875rem;
  color: var(--gray-500);
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.15rem; opacity: .9; margin-bottom: 32px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero with photo background + split layout */
.hero-photo { padding: 110px 0 90px; }

/* Faded bridge photo sits between the pattern layer and content */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background: url('Chattanooga Bridge.avif') center center / cover no-repeat;
  opacity: .13;        /* low opacity = photo shows through purple gradient subtly */
  z-index: 0;
  mix-blend-mode: luminosity;
}

/* Two-column hero layout: text left, logo right */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

/* Right-side logo panel */
.hero-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-large {
  width: clamp(220px, 30vw, 420px);
  height: auto;
  /* Invert to white since logo is dark on transparent */
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,.35));
  opacity: .95;
}

/* --- City image band (used on About page) ----------------- */
.city-image-band {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.city-image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(.72) saturate(.9);
}
.city-image-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(74,36,112,.75) 0%, rgba(107,63,160,.3) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.city-image-band-overlay .container { z-index: 1; }
.city-image-band-overlay h2 { color: var(--white); margin-bottom: 8px; }
.city-image-band-overlay p  { color: rgba(255,255,255,.88); max-width: 480px; font-size:1.05rem; }

/* --- Page Hero (inner pages) ------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Chattanooga Bridge.avif') center center / cover no-repeat;
  opacity: .13;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto; }

/* --- Sections --------------------------------------------- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-gray { background: var(--gray-100); }
.section-purple { background: var(--purple); color: var(--white); }
.section-purple h2, .section-purple h3 { color: var(--white); }
.section-purple p { color: rgba(255,255,255,.88); }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin: 12px auto 0; }
.section-header h2 { margin-bottom: 10px; }

/* --- Cards ------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }

/* --- Stat strip ------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--purple-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
}
.stat-item {
  background: var(--purple);
  padding: 28px 24px;
  text-align: center;
  color: var(--white);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--flame);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .85rem;
  opacity: .85;
  font-weight: 500;
}

/* --- CTA Banner ------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-light));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Chattanooga Bridge.avif') center center / cover no-repeat;
  opacity: .13;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,.88); max-width: 540px; margin: 0 auto 30px; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Form -------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-full  { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--gray-700); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,63,160,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Team Cards ------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.team-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple-light); }
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--purple-pale);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { font-size: .85rem; color: var(--purple); font-weight: 600; margin-bottom: 10px; }
.team-card .tbd { font-size: .82rem; color: var(--gray-500); font-style: italic; }

/* --- Donate Page ------------------------------------------ */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.donate-option {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}
.donate-option:hover { border-color: var(--purple); box-shadow: var(--shadow-md); }
.donate-option.featured { border-color: var(--purple); background: var(--purple-pale); }
.donate-option .icon { font-size: 2.4rem; margin-bottom: 14px; }
.donate-option h3 { margin-bottom: 10px; }
.donate-option p  { font-size: .9rem; color: var(--gray-500); margin-bottom: 20px; }

/* --- Alerts / Info boxes ---------------------------------- */
.info-box {
  background: var(--purple-pale);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: .9rem;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .83rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--purple); color: var(--white); }

/* --- Utility ---------------------------------------------- */
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.text-flame  { color: var(--flame); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-y  { display: flex; flex-direction: column; gap: 16px; }

/* --- Welcome Popup ---------------------------------------- */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInOverlay .3s ease;
}
.welcome-overlay.hidden { display: none; }
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.welcome-modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: slideUpModal .35s ease;
}
@keyframes slideUpModal {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.welcome-modal-header {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  padding: 36px 36px 28px;
  text-align: center;
  position: relative;
}
.welcome-modal-header img {
  height: 64px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.welcome-modal-header h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.welcome-modal-header p {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
  margin: 0;
}
.welcome-modal-body {
  padding: 28px 36px 32px;
  text-align: center;
}
.welcome-modal-body p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.welcome-modal-body .btn {
  min-width: 180px;
  justify-content: center;
}
.welcome-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,.2);
  border: none;
  color: var(--white);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition);
}
.welcome-close:hover { background: rgba(255,255,255,.35); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 40px 0; }
  .section-gray { padding: 40px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 40px 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  /* Hero split: stack on mobile, logo goes below text and is centered */
  .hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero-logo-panel { order: -1; }  /* logo above text on mobile */
  .hero-logo-large { width: clamp(180px, 55vw, 260px); }
  .hero-btns { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .city-image-band { height: 220px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section-header { margin-bottom: 28px; }
  .card-grid { gap: 16px; }
  .cta-banner { padding: 40px 0; }
  /* Collapse all inline two-column grids to single column */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  /* Restore stat-strip and footer overrides after the broad rule */
  .stat-strip { grid-template-columns: 1fr 1fr !important; }
  .donate-options { grid-template-columns: 1fr !important; }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand p { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-col {
    text-align: center;
  }
  .footer-col ul { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .hero-logo-large { width: clamp(200px, 65vw, 280px); }
}
