/* =========================================================
   THE MIGHTY MACK FOUNDATION — STYLES
   Aesthetic: warm storybook-comic, bold primaries, hopeful
   ========================================================= */

:root {
  --red:       #E63946;
  --red-deep:  #C42836;
  --blue:      #1E6FE0;
  --blue-deep: #0F4FB0;
  --yellow:    #FFD23F;
  --yellow-soft:#FFE89A;
  --cream:     #FFF8EC;
  --cream-warm:#FBEED1;
  --ink:       #1A1A1A;
  --ink-soft:  #3D3D3D;
  --paper:     #FFFFFF;

  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-hard-lg: 8px 8px 0 var(--ink);
  --shadow-soft: 0 10px 30px rgba(26,26,26,0.12);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;

  --font-display: "Lilita One", system-ui, sans-serif;
  --font-serif:   "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Decorative dot grid background */
.bg-pattern {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(26,26,26,0.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }

.logo-mark svg { width: 100%; height: 100%; }

.logo-mark-lg { width: 56px; height: 56px; }

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-line1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-line2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 3px;
}

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

/* Dropdown parent */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transition: right 0.25s ease;
}

.nav-dropdown-toggle:hover { color: var(--red); }
.nav-dropdown-toggle:hover::after { right: 24px; }

.nav-caret {
  width: 12px; height: 12px;
  transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown.open .nav-dropdown-toggle { color: var(--red); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  min-width: 280px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 36px;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  border-top: 3px solid var(--ink);
  transform: rotate(45deg);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-weight: 700;
  color: var(--ink);
  transition: background 0.15s, transform 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--cream-warm);
  transform: translateX(3px);
}

.nav-item-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav-dropdown-menu a span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-dropdown-menu a strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-dropdown-menu a em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Register button in nav */
.nav-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 10px 18px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  position: relative;
}

.nav-register::before {
  content: "✦";
  color: var(--red);
  font-size: 0.9rem;
}

.nav-register:hover {
  background: var(--yellow-soft);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-donate {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-donate svg { width: 18px; height: 18px; }

.btn-donate:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 60px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border: 3px solid var(--ink);
  opacity: 0.85;
}

.shape-1 { top: 8%;  left: 4%;  width: 60px;  height: 60px; background: var(--yellow); border-radius: 50%; }
.shape-2 { top: 18%; right: 8%; width: 80px;  height: 80px; background: var(--blue); transform: rotate(15deg); border-radius: 18px; }
.shape-3 { top: 60%; left: 6%;  width: 50px;  height: 50px; background: var(--red); transform: rotate(-12deg); }
.shape-4 { top: 75%; right: 5%; width: 70px;  height: 70px; background: var(--yellow); border-radius: 50% 20% 50% 20%; }
.shape-5 { top: 40%; left: 50%; width: 36px;  height: 36px; background: var(--red); border-radius: 50%; opacity: 0.4; }

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-hard);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.title-line { display: block; }

.title-accent {
  color: var(--red);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.title-line:nth-child(2) { padding-left: 0.8em; }
.title-line:nth-child(4) { padding-left: 1.2em; color: var(--blue); }

.hero-lede {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--paper);
  padding: 16px 32px;
  font-weight: 900;
  font-size: 1.05rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary svg { width: 20px; height: 20px; }

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--blue-deep);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.2s;
}

.btn-secondary:hover { background: var(--yellow); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

.stat-divider {
  width: 2px;
  height: 40px;
  background: var(--ink);
  opacity: 0.2;
}

.hero-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-image-burst {
  position: absolute;
  inset: -10%;
  z-index: 0;
}

.hero-image-burst svg { width: 100%; height: 100%; }

.hero-image-frame {
  position: relative;
  z-index: 1;
  max-width: 460px;
  filter: drop-shadow(8px 12px 0 rgba(26,26,26,0.15));
}

.hero-image-frame img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-badge {
  position: absolute;
  bottom: 4%;
  right: 0;
  width: 130px;
  height: 130px;
  z-index: 3;
  animation: spin 18s linear infinite;
}

.hero-badge svg { width: 100%; height: 100%; }

@keyframes spin { to { transform: rotate(360deg); } }

.hero-marquee {
  background: var(--ink);
  color: var(--yellow);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
  border-top: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION LABELS / TITLES
   ========================================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-label-light { color: var(--yellow); }

.section-label-center { justify-content: center; width: 100%; }

.label-icon {
  font-size: 1.1rem;
  color: var(--red);
}

.section-label-light .label-icon { color: var(--yellow); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
}

.section-title em {
  font-style: italic;
  color: var(--red);
}

.section-title-light { color: var(--cream); }
.section-title-light em { color: var(--yellow); }

.section-title-center { text-align: center; }

.section-sub {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 56px;
}

/* =========================================================
   STORY
   ========================================================= */
.story {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 64px;
}

.story-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 36px 28px 32px;
  position: relative;
  box-shadow: var(--shadow-hard-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.story-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.story-card-accent { background: var(--yellow-soft); }

.card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.story-card p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.pullquote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 40px 24px;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.3;
  color: var(--red);
  opacity: 0.25;
  display: block;
  margin-bottom: -20px;
}

.pullquote p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--ink);
}

.pullquote p em {
  color: var(--red);
  font-style: italic;
}

.pullquote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =========================================================
   MISSION
   ========================================================= */
.mission {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.mission::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,210,63,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.mission-lede {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255,248,236,0.85);
  margin-bottom: 40px;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar { color: var(--cream); }

.pillar-icon {
  width: 50px; height: 50px;
  background: var(--red);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--cream);
}

.pillar-icon svg { width: 24px; height: 24px; }

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--yellow);
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255,248,236,0.7);
  font-weight: 500;
}

.mission-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow-hard-lg);
  position: relative;
  z-index: 2;
}

.impact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px dashed rgba(26,26,26,0.15);
}

.impact-year { color: var(--red); display: inline-flex; align-items: center; gap: 6px; }

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(230,57,70,0.6);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(230,57,70,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(230,57,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}

.impact-stat { display: flex; flex-direction: column; margin-bottom: 20px; }

.impact-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.impact-desc {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 6px;
}

.impact-bar {
  height: 14px;
  background: var(--cream-warm);
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid var(--ink);
  margin-bottom: 10px;
}

.impact-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-right: 2px solid var(--ink);
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-goal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.impact-goal-row > span:last-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--red);
}

.impact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.impact-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--cream);
  border-radius: var(--r-sm);
  border: 2px solid var(--ink);
}

.impact-key {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blue);
  line-height: 1;
}

.impact-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* =========================================================
   HOSPITAL
   ========================================================= */
.hospital {
  padding: 100px 0;
  background: var(--cream);
}

.hospital-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hospital-visual { display: grid; place-items: center; }

.hospital-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow-hard-lg);
  transform: rotate(-2deg);
}

.hospital-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(26,26,26,0.15);
  margin-bottom: 16px;
}

.hospital-room {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blue);
}

.hospital-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse-dot {
  width: 10px; height: 10px;
  background: #2EB872;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hospital-ekg {
  background: var(--cream-warm);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 8px;
  margin-bottom: 16px;
  height: 70px;
}

.hospital-ekg svg { width: 100%; height: 100%; }

.hospital-card-body { display: grid; gap: 12px; }

.vital {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.vital-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.vital-value { font-weight: 700; }

.hospital-text p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.hospital-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-pill {
  padding: 8px 16px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
}

/* =========================================================
   HELP
   ========================================================= */
.help {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  text-align: center;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.help-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-hard-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.help-card:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 11px 11px 0 var(--ink);
}

.help-card-1 { background: var(--paper); }
.help-card-2 { background: var(--yellow-soft); }
.help-card-3 { background: var(--paper); }

.help-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  opacity: 0.5;
}

.help-icon-wrap {
  width: 64px; height: 64px;
  margin-bottom: 20px;
}

.help-icon-wrap svg { width: 100%; height: 100%; }

.help-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.help-card p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.help-link {
  display: inline-block;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--red);
  border-bottom: 2.5px solid var(--red);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.help-link:hover { color: var(--blue); border-color: var(--blue); }

/* =========================================================
   DONATE BANNER
   ========================================================= */
.donate-banner {
  padding: 100px 0;
  background: var(--red);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.donate-banner::before {
  content: "❤";
  position: absolute;
  font-size: 30rem;
  top: -100px;
  right: -80px;
  color: rgba(255,255,255,0.06);
  font-family: var(--font-display);
  line-height: 1;
}

.donate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.donate-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.donate-text h2 em {
  font-style: italic;
  color: var(--yellow);
}

.donate-text p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 460px;
}

/* Trust badges next to the donate-text */
.donate-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--yellow);
}

/* Wrapper around the Donorbox iframe */
.donate-embed-wrap {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  position: relative;
}

.donate-embed-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--r-md);
  background: var(--paper);
}

/* While the Donorbox iframe loads, show a subtle placeholder */
.donate-embed-wrap::before {
  content: "Loading secure donation form…";
  position: absolute;
  inset: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: var(--r-md);
  pointer-events: none;
  z-index: 0;
}

.donate-embed-wrap iframe {
  position: relative;
  z-index: 1;
}

/* =========================================================
   UPDATES
   ========================================================= */
.updates {
  padding: 100px 0;
  background: var(--cream);
}

.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.updates-all {
  font-weight: 900;
  font-size: 1rem;
  color: var(--red);
  border-bottom: 2.5px solid var(--red);
  padding-bottom: 2px;
}

.updates-all:hover { color: var(--blue); border-color: var(--blue); }

.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}

.update-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s;
}

.update-card:hover { transform: translateY(-4px); }

.update-card-feature {
  background: var(--blue);
  color: var(--paper);
}

.update-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.update-card-feature .update-tag { background: var(--yellow); }

.update-date {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.update-card-feature .update-date { color: rgba(255,255,255,0.8); }

.update-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.update-card-feature h3 { color: var(--paper); }

.update-card p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.update-card-feature p { color: rgba(255,255,255,0.92); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 2px dashed rgba(255,248,236,0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.footer-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 4px;
}

.footer-desc {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,248,236,0.7);
  max-width: 360px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--yellow);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,248,236,0.75);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255,248,236,0.08);
  border: 2px solid rgba(255,248,236,0.2);
  border-radius: 50%;
  color: var(--cream);
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer-socials svg { width: 18px; height: 18px; }

.footer-copyright {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,248,236,0.5);
}

/* =========================================================
   REGISTRATION
   ========================================================= */
.register {
  padding: 100px 0;
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}

.register::before {
  content: "★";
  position: absolute;
  font-family: var(--font-display);
  font-size: 22rem;
  color: var(--yellow);
  opacity: 0.4;
  top: -60px;
  right: -40px;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-12deg);
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.register-intro { padding-top: 12px; }

.register-lede {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.register-perks { display: flex; flex-direction: column; gap: 14px; }

.perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.perk-check {
  width: 28px; height: 28px;
  background: var(--red);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* The form */
.register-form {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-hard-lg);
}

.form-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px dashed rgba(26,26,26,0.18);
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.required { color: var(--red); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-field { margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }

.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-sm);
  transition: background 0.15s, transform 0.1s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(26,26,26,0.4);
  font-weight: 500;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--red);
  transform: translate(-2px, -2px);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-serif);
  font-weight: 500;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-transform: none;
  letter-spacing: 0;
}

.checkbox-item:hover {
  background: var(--yellow-soft);
  transform: translateY(-1px);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.checkbox-item:has(input:checked) {
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 18px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  margin-top: 8px;
}

.btn-submit svg { width: 20px; height: 20px; }

.btn-submit:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--red-deep);
}

.form-fineprint {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* Success state (shown after Netlify form submit redirect) */
.form-success {
  text-align: center;
  padding: 40px 24px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { order: -1; max-width: 380px; margin: 0 auto; }
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-pillars { grid-template-columns: repeat(3, 1fr); }
  .hospital-grid { grid-template-columns: 1fr; gap: 48px; }
  .hospital-card { transform: rotate(0); }
  .story-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .donate-inner { grid-template-columns: 1fr; gap: 40px; }
  .updates-grid { grid-template-columns: 1fr; }
  .register-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { gap: 14px; }
  .nav-dropdown-toggle { font-size: 0.9rem; }
  .nav-register { padding: 9px 14px; font-size: 0.85rem; }
}

@media (max-width: 720px) {
  .nav-dropdown-menu {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    min-width: 0;
  }
  .nav-dropdown-menu::before { left: 28px; }
}

@media (max-width: 600px) {
  .container, .nav-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .mission-pillars { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .impact-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .register-form { padding: 24px; }
}
