:root {
  --blue-900: #10224a;
  --blue-800: #17316a;
  --blue-600: #2f64ff;
  --violet-600: #6d5dfc;
  --cyan-400: #43d9c8;
  --gray-900: #182033;
  --gray-700: #4d5870;
  --gray-100: #f3f6fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 34, 74, 0.12);
  --shadow-glow: 0 8px 32px rgba(47, 100, 255, 0.18);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

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

:focus-visible {
  outline: 3px solid rgba(47, 100, 255, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 72px;
}

.section-light {
  background: var(--gray-100);
}

.section-blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800) 55%, #283aa5);
}

/* ========================================
   HEADER + ANIMATED GRADIENT LINE
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 34, 74, 0.06);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--violet-600), var(--cyan-400), var(--blue-600));
  background-size: 300% 100%;
  animation: headerGradient 4s ease infinite;
}

@keyframes headerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.site-header .container {
  width: min(1840px, calc(100% - 64px));
}

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

.logo {
  color: var(--blue-900);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex: 0 0 auto;
}

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

.back-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(16, 34, 74, 0.12);
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.back-link:hover {
  color: var(--white);
  background: var(--blue-600);
  transform: translateX(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.nav-link-main {
  white-space: nowrap;
  position: relative;
  transition: color 200ms ease;
}

.nav-link-main::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-600);
  border-radius: 1px;
  transition: width 250ms ease;
}

.nav-link-main:hover {
  color: var(--blue-600);
}

.nav-link-main:hover::after {
  width: 100%;
}

/* ========================================
   NAV DROPDOWN
   ======================================== */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: color 200ms ease;
  font-family: "Inter", Arial, sans-serif;
}

.dropdown-icon {
  font-size: 0.7rem;
  display: inline-flex;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.6;
}

.nav-dropdown-toggle:hover {
  color: var(--blue-600);
}

.nav-dropdown-toggle:hover .dropdown-icon {
  opacity: 1;
}

.nav-dropdown.is-open .nav-dropdown-toggle .dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid rgba(16, 34, 74, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 12px 28px rgba(16, 34, 74, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 100;
}

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

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--gray-700);
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 180ms ease;
  position: relative;
}

.nav-dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue-600);
  opacity: 0;
  transition: opacity 180ms ease;
  border-radius: 0 2px 2px 0;
}

.nav-dropdown-menu a:hover {
  background: rgba(47, 100, 255, 0.06);
  color: var(--blue-600);
  padding-left: 22px;
}

.nav-dropdown-menu a:hover::before {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 34, 74, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-900);
}

/* ========================================
   BUTTONS - SHIMMER EFFECT
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
  pointer-events: none;
}

.btn:hover::before {
  animation: shimmer 600ms ease forwards;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 150%; }
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--white);
  border: 1px solid rgba(16, 34, 74, 0.16);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.header-cta {
  flex: 0 0 auto;
  font-size: 0.93rem;
  box-shadow: 0 4px 16px rgba(47, 100, 255, 0.18);
}

.mobile-donation-cta {
  display: none;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: clamp(40px, 4vw, 56px) 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(67, 217, 200, 0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(109, 93, 252, 0.12), transparent 40%),
    linear-gradient(180deg, #f7faff, #ffffff);
  overflow: hidden;
}

#heroParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.entrepreneurs-grid,
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  color: var(--blue-900);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  color: var(--blue-900);
  font-size: 1.18rem;
  line-height: 1.25;
}

.section-blue h2,
.section-blue h3,
.section-blue .eyebrow {
  color: var(--white);
}

.hero-text {
  max-width: 620px;
  color: var(--gray-700);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.impact-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(280px, calc(100% - 40px));
  padding: 18px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.impact-card strong,
.impact-card span {
  display: block;
}

/* ========================================
   PRIORITY DONATION BLOCK
   ======================================== */

.donation-priority {
  position: relative;
  padding: 64px 0;
  border-top: 1px solid rgba(47, 100, 255, 0.12);
  border-bottom: 1px solid rgba(47, 100, 255, 0.12);
  background: #edf3ff;
}

.donation-priority h2 {
  max-width: 680px;
  margin-bottom: 18px;
}

.donation-priority p {
  max-width: 650px;
  color: var(--gray-700);
}

.donation-reference {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
}

.donation-text-button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--gray-700);
}

/* ========================================
   CARDS - GLASSMORPHISM + IMPROVED HOVER
   ======================================== */

.steps-grid,
.cards-grid,
.resource-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.form-card {
  border: 1px solid rgba(16, 34, 74, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(16, 34, 74, 0.06);
}

.card {
  padding: 26px;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 100, 255, 0.28);
  box-shadow: 0 20px 50px rgba(16, 34, 74, 0.14), 0 0 0 1px rgba(47,100,255,0.08);
}

/* Step icons */
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
  box-shadow: 0 8px 20px rgba(47, 100, 255, 0.22);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(47, 100, 255, 0.22);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-600);
  font-weight: 800;
  transition: color 200ms ease, gap 200ms ease;
  gap: 4px;
  align-items: center;
}

.text-link::after {
  content: "→";
  transition: transform 200ms ease;
}

.text-link:hover {
  color: var(--violet-600);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ========================================
   IMPACT COUNTERS SECTION
   ======================================== */

.section-impact {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900) 0%, #1a3580 40%, var(--violet-600) 100%);
  position: relative;
  overflow: hidden;
}

.section-impact::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  background: rgba(67, 217, 200, 0.12);
  top: -200px;
  right: -100px;
  filter: blur(60px);
  pointer-events: none;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.counter-item {
  padding: 32px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 280ms ease, background 280ms ease;
}

.counter-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.counter-number {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--white), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   TESTIMONIAL CAROUSEL
   ======================================== */

.testimonial-section {
  padding: 88px 0;
  background: var(--gray-100);
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}

.testimonial-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 34, 74, 0.08);
  box-shadow: 0 12px 40px rgba(16, 34, 74, 0.08);
  text-align: center;
}

.testimonial-card .quote-icon {
  display: block;
  margin: 0 auto 18px;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-card blockquote {
  margin: 0 0 22px;
  padding: 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(47, 100, 255, 0.15);
}

.testimonial-info strong {
  display: block;
  color: var(--blue-900);
  font-size: 1rem;
}

.testimonial-info span {
  display: block;
  color: var(--gray-700);
  font-size: 0.88rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(16, 34, 74, 0.14);
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--blue-900);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.carousel-btn:hover {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(16, 34, 74, 0.18);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.carousel-dot.active {
  background: var(--blue-600);
  transform: scale(1.3);
}

/* ========================================
   EMPRENDEDORES / BENEFITS
   ======================================== */

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

.benefit {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  font-weight: 800;
  transition: background 200ms ease, transform 200ms ease;
}

.benefit:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.section-blue p {
  color: rgba(255, 255, 255, 0.82);
}

/* ========================================
   RESOURCES
   ======================================== */

.resource-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
}

/* ========================================
   ABOUT
   ======================================== */

.about-grid {
  grid-template-columns: 1.2fr 1fr 0.8fr;
}

.values,
.collab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.values span,
.collab-list span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--gray-100);
  font-weight: 700;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.values span:hover,
.collab-list span:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   FORMS
   ======================================== */

.form-card {
  padding: 28px;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--blue-900);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 34, 74, 0.16);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--gray-900);
  font: inherit;
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(47, 100, 255, 0.12);
}

textarea {
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-size: 0.92rem;
}

.contact-data {
  margin-top: 28px;
  padding: 22px;
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--gray-100);
}

.contact-data p {
  margin-bottom: 8px;
}

/* ========================================
   DONATIONS
   ======================================== */

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.donation-grid .btn {
  margin-top: 22px;
}

.donation-info-card,
.donation-detail-card {
  border: 1px solid rgba(16, 34, 74, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(16, 34, 74, 0.08);
}

.donation-info-card {
  padding: 30px;
}

.donation-info-card h3 {
  margin-bottom: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 34, 74, 0.56);
  backdrop-filter: blur(8px);
}

.modal-backdrop.is-open {
  display: flex;
}

.donation-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(3, 14, 45, 0.32);
}

.donation-modal h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--blue-900);
  background: var(--gray-100);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: #e4ebff;
}

.donation-result {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
  font-size: 1.1rem;
  font-weight: 800;
}

.donation-detail-card {
  margin-top: 16px;
  padding: 18px;
  background: var(--gray-100);
}

.donation-detail-card strong,
.donation-detail-card span {
  display: block;
}

.donation-detail-card span {
  margin-top: 6px;
  color: var(--gray-700);
}

.donation-alias {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px dashed rgba(47, 100, 255, 0.36);
  border-radius: var(--radius);
  color: var(--blue-900);
  background: #f4f7ff;
}

.donation-alias span {
  color: var(--gray-700);
  font-size: 0.9rem;
}

.donation-alias strong {
  overflow-wrap: anywhere;
}

.donation-confirm-btn,
.receipt-modal > .btn {
  width: 100%;
  margin-top: 18px;
}

.receipt-status {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: #72520a;
  background: #fff4cf;
  font-size: 0.86rem;
  font-weight: 800;
}

.receipt-data {
  margin: 22px 0;
}

.receipt-data div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 34, 74, 0.1);
}

.receipt-data dt {
  color: var(--gray-700);
}

.receipt-data dd {
  margin: 0;
  color: var(--blue-900);
  font-weight: 800;
  text-align: right;
}

.receipt-note {
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 0.85rem;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-logo,
.site-footer h3 {
  color: var(--white);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  transition: color 200ms ease;
}

.site-footer a:hover {
  color: var(--cyan-400);
}

.copyright {
  margin: 0;
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
}

/* ========================================
   TOAST
   ======================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue-900);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translate(-50%, 120px);
  transition: transform 220ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays for grid children */
.stagger .card:nth-child(1),
.stagger .counter-item:nth-child(1) { transition-delay: 0ms; }
.stagger .card:nth-child(2),
.stagger .counter-item:nth-child(2) { transition-delay: 120ms; }
.stagger .card:nth-child(3),
.stagger .counter-item:nth-child(3) { transition-delay: 240ms; }
.stagger .card:nth-child(4),
.stagger .counter-item:nth-child(4) { transition-delay: 360ms; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1280px) {
  .nav-links {
    justify-content: flex-end;
    gap: 22px;
    font-size: 0.9rem;
  }

  .nav-dropdown-menu {
    min-width: 180px;
  }

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

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

@media (max-width: 960px) {
  .section {
    padding: 52px 0;
  }

  .testimonial-section {
    padding: 52px 0;
  }

  .site-header .container {
    width: min(100% - 32px, 1120px);
  }

  .nav {
    min-height: 68px;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 22px;
    border-bottom: 1px solid rgba(16, 34, 74, 0.08);
    background: var(--white);
    gap: 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link-main {
    padding: 12px 0;
  }

  .nav-link-main::after {
    display: none;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    padding-right: 8px;
  }

  .nav-dropdown-menu {
    position: static;
    border: none;
    padding: 8px 0 8px 16px;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 200ms ease;
    margin-top: 0;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .nav-dropdown-menu a {
    padding: 10px 0;
  }

  .nav-dropdown-menu a::before {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 46px 0;
  }

  .hero-grid,
  .entrepreneurs-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 34px;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(18px);
  }

  .steps-grid,
  .cards-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header .container {
    width: min(100% - 20px, 1120px);
  }

  .header-cta {
    display: none;
  }

  .mobile-donation-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 0;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
    box-shadow: 0 14px 34px rgba(16, 34, 74, 0.28);
    font: inherit;
    font-weight: 800;
  }

  .hero {
    padding: 40px 0 46px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-media img {
    max-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .resource-grid,
  .benefits-grid,
  .counters-grid {
    grid-template-columns: 1fr;
  }

  .impact-card {
    position: static;
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    font-size: 0.92rem;
  }

  .donation-priority {
    padding: 44px 0;
  }

  .card,
  .form-card {
    padding: 22px;
  }

  .donation-modal {
    padding: 24px;
  }

  .modal-close {
    width: 44px;
    height: 44px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .donation-alias,
  .receipt-data div {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .donation-alias {
    flex-direction: column;
  }

  .receipt-data dd {
    text-align: left;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  html,
  body {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    color: #10224a;
    background: #ffffff;
  }

  body > * {
    display: none !important;
  }

  #receiptModal {
    position: static;
    display: block !important;
    padding: 0;
    background: #ffffff;
    backdrop-filter: none;
  }

  #receiptModal .receipt-modal {
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #receiptModal .modal-close,
  #saveReceiptPdf {
    display: none !important;
  }

  #donationReceipt {
    width: 100%;
    min-height: 0;
    padding: 14mm 12mm 12mm;
    border: 1px solid #dfe5ef;
    border-radius: 8mm;
    color: #10224a;
    background: #ffffff;
    break-inside: avoid;
    page-break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  #donationReceipt .eyebrow {
    margin: 0 0 8mm;
    color: #2f64ff;
    font-size: 13pt;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  #donationReceipt h2 {
    max-width: 165mm;
    margin: 0 0 8mm;
    color: #10224a;
    font-size: 31pt;
    line-height: 1.05;
    letter-spacing: 0;
  }

  #donationReceipt .receipt-status {
    margin: 0 0 11mm;
    padding: 3mm 5mm;
    border-radius: 5mm;
    color: #72520a;
    background: #fff1c2;
    font-size: 11pt;
  }

  #donationReceipt .receipt-data {
    margin: 0 0 8mm;
  }

  #donationReceipt .receipt-data div {
    grid-template-columns: 52mm minmax(0, 1fr);
    gap: 8mm;
    align-items: start;
    min-height: 16mm;
    padding: 4mm 0;
    border-bottom: 1px solid #dfe5ef;
    break-inside: avoid;
  }

  #donationReceipt .receipt-data dt {
    color: #53627e;
    font-size: 13pt;
    line-height: 1.25;
  }

  #donationReceipt .receipt-data dd {
    overflow-wrap: anywhere;
    color: #10224a;
    font-size: 13pt;
    line-height: 1.25;
    text-align: right;
  }

  #donationReceipt .receipt-note {
    margin: 0;
    color: #53627e;
    font-size: 11pt;
    line-height: 1.45;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

@media print and (max-height: 250mm) {
  #donationReceipt {
    padding-top: 10mm;
    padding-bottom: 10mm;
  }

  #donationReceipt .eyebrow,
  #donationReceipt h2 {
    margin-bottom: 6mm;
  }

  #donationReceipt h2 {
    font-size: 27pt;
  }

  #donationReceipt .receipt-status {
    margin-bottom: 7mm;
  }

  #donationReceipt .receipt-data div {
    min-height: 13mm;
    padding: 3mm 0;
  }

  #donationReceipt .receipt-data dt,
  #donationReceipt .receipt-data dd {
    font-size: 12pt;
  }

  #donationReceipt .receipt-note {
    font-size: 10pt;
  }
}
