/* ═══════════════════════════════════════════════════════════════
   FUNDACIÓN APRENDER JUGANDO - Design System
   "Lo divertido de aprender"
   Colors: Sky Blue + Yellow — Cute & Childlike
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Brand Colors — Sky Blue + Yellow */
  --blue-primary: #4FC3F7;
  --blue-light: #81D4FA;
  --blue-sky: #87CEEB;
  --blue-dark: #0288D1;
  --blue-deeper: #01579B;
  --blue-bg: #E1F5FE;
  --yellow-primary: #FFD740;
  --yellow-light: #FFEB3B;
  --yellow-warm: #FFC107;
  --yellow-dark: #F9A825;
  --yellow-bg: #FFF9C4;
  --orange-accent: #FF9800;
  --pink-accent: #F48FB1;
  --purple-accent: #CE93D8;
  --green-accent: #81C784;
  --red-accent: #EF5350;
  --coral: #FF8A80;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFEFF;
  --cream: #FFF8E1;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;

  /* Typography */
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Quicksand', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 60px rgba(0,0,0,0.15);
  --shadow-glow-blue: 0 4px 30px rgba(79, 195, 247, 0.35);
  --shadow-glow-yellow: 0 4px 30px rgba(255, 215, 64, 0.35);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  color: var(--gray-900);
}

.section-title span {
  background: linear-gradient(135deg, var(--blue-primary), var(--yellow-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto 60px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-warm), var(--yellow-dark));
  color: var(--gray-900);
  box-shadow: var(--shadow-glow-yellow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255, 193, 7, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--yellow-primary);
  color: var(--gray-900);
  border-color: var(--yellow-primary);
  transform: translateY(-3px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  box-shadow: var(--shadow-glow-blue);
}

.btn-blue:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(79, 195, 247, 0.5);
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Decorative Elements ── */
.decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.star {
  width: 20px;
  height: 20px;
  background: var(--yellow-primary);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle 3s ease-in-out infinite;
}

.star.pink { background: var(--pink-accent); }
.star.blue { background: var(--blue-light); }
.star.yellow { background: var(--yellow-light); }
.star.purple { background: var(--purple-accent); }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(20deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}

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

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.navbar-brand img {
  height: 50px;
  width: auto;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.2;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-brand-name {
  color: var(--blue-dark);
}

.navbar-brand-slogan {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-brand-slogan {
  color: var(--gray-600);
}

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

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--gray-800);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--blue-dark);
  background: var(--blue-bg);
}

.nav-donate-btn {
  background: linear-gradient(135deg, var(--yellow-warm), var(--yellow-dark)) !important;
  color: var(--gray-900) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-glow-yellow);
  font-weight: 800 !important;
}

.nav-donate-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 30px rgba(255, 193, 7, 0.5) !important;
  background: linear-gradient(135deg, var(--yellow-warm), var(--yellow-dark)) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition-base);
}

.navbar.scrolled .hamburger span {
  background: var(--gray-800);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #01579B 0%, #0288D1 25%, #039BE5 50%, #4FC3F7 80%, #81D4FA 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('hero_bg.png') center/cover no-repeat;
  opacity: 0.22;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  color: var(--yellow-primary);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  display: inline;
  background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow-primary);
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.hero-image {
  position: relative;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--yellow-primary);
  border-radius: var(--radius-full);
  opacity: 0.3;
  animation: float 4s ease-in-out infinite;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 70px;
  height: 70px;
  background: var(--pink-accent);
  border-radius: var(--radius-full);
  opacity: 0.3;
  animation: floatReverse 5s ease-in-out infinite;
}

/* Floating decorations in hero */
.hero-deco {
  position: absolute;
  z-index: 2;
  opacity: 0.5;
}

.hero-deco-1 { top: 15%; left: 5%; animation: float 6s ease-in-out infinite; }
.hero-deco-2 { top: 25%; right: 8%; animation: floatReverse 7s ease-in-out infinite; }
.hero-deco-3 { bottom: 20%; left: 10%; animation: float 5s ease-in-out infinite 1s; }
.hero-deco-4 { top: 60%; right: 3%; animation: floatReverse 4s ease-in-out infinite 0.5s; }

/* ═══════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════ */
.about {
  padding: var(--section-padding);
  position: relative;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--yellow-warm), var(--yellow-dark));
  color: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-image-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.about-image-badge .badge-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.about-content h3 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--blue-bg);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--blue-dark);
  transition: var(--transition-base);
}

.about-feature:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateX(5px);
}

.about-feature .feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════ */
.services {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 50%, var(--blue-bg) 100%);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  position: relative;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-image {
  transform: scale(1.05);
}

.service-card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.service-card-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--white));
}

.service-card-body {
  padding: 28px 30px 35px;
}

.service-card-icon {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.service-card:nth-child(1) .service-card-icon {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
}

.service-card:nth-child(2) .service-card-icon {
  background: linear-gradient(135deg, var(--yellow-warm), var(--yellow-dark));
}

.service-card:nth-child(3) .service-card-icon {
  background: linear-gradient(135deg, var(--pink-accent), #E91E63);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 18px 0 12px;
  color: var(--gray-900);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-tag {
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--blue-bg);
  color: var(--blue-dark);
}

.service-card:nth-child(2) .service-tag {
  background: var(--yellow-bg);
  color: var(--yellow-dark);
}

.service-card:nth-child(3) .service-tag {
  background: #FCE4EC;
  color: #C2185B;
}

/* ═══════════════════════════════════════
   IMPACT SECTION
   ═══════════════════════════════════════ */
.impact {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #01579B 0%, #0288D1 50%, #039BE5 100%);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.impact .section-title {
  color: var(--white);
}

.impact .section-title span {
  background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.impact-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 40px 25px;
  text-align: center;
  transition: all var(--transition-base);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.35);
}

.impact-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow-primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   REGISTRATION FORM SECTION
   ═══════════════════════════════════════ */
.registration {
  padding: var(--section-padding);
  position: relative;
  background: var(--off-white);
}

.registration-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.registration-info {
  position: sticky;
  top: 120px;
}

.registration-info h3 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.registration-info h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.registration-info p {
  color: var(--gray-600);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.registration-benefits {
  list-style: none;
}

.registration-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
  color: var(--gray-800);
}

.registration-benefits li:last-child {
  border-bottom: none;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--blue-bg);
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-card-subtitle {
  color: var(--gray-600);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group label .required {
  color: var(--coral);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--transition-base);
  background: var(--gray-50);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.15);
  background: var(--white);
}

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

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23757575' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--gray-600);
}

/* ═══════════════════════════════════════
   DONATIONS SECTION
   ═══════════════════════════════════════ */
.donations {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--cream) 0%, var(--yellow-bg) 30%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}

.donations-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.donation-info h3 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.donation-info h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.donation-info > p {
  color: var(--gray-600);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.donation-impact-list {
  list-style: none;
}

.donation-impact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  margin-bottom: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.donation-impact-list li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.donation-impact-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.donation-impact-list li:nth-child(1) .donation-impact-icon {
  background: var(--blue-bg);
}
.donation-impact-list li:nth-child(2) .donation-impact-icon {
  background: var(--yellow-bg);
}
.donation-impact-list li:nth-child(3) .donation-impact-icon {
  background: #FCE4EC;
}
.donation-impact-list li:nth-child(4) .donation-impact-icon {
  background: #E8F5E9;
}

.donation-impact-text strong {
  display: block;
  color: var(--gray-900);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 2px;
}

.donation-impact-text span {
  font-size: 0.88rem;
  color: var(--gray-600);
}

.donation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--yellow-bg);
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.amount-btn {
  padding: 16px 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-base);
  font-family: var(--font-heading);
}

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

.amount-btn.selected {
  border-color: var(--blue-primary);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  box-shadow: var(--shadow-glow-blue);
}

.amount-btn .amount-value {
  font-size: 1.3rem;
  font-weight: 900;
  display: block;
}

.amount-btn .amount-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: 4px;
  display: block;
}

.amount-btn.selected .amount-label {
  color: rgba(255,255,255,0.85);
}

.nequi-info {
  background: linear-gradient(135deg, var(--blue-bg), var(--yellow-bg));
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.nequi-info-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.nequi-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-deeper);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.nequi-name {
  font-size: 0.92rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 14px;
}

.copy-btn {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
}

.copy-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-blue);
}

.donation-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 600;
}

/* ═══════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════ */
.testimonials {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 30px;
}

.testimonial-content {
  background: var(--blue-bg);
  border-radius: var(--radius-lg);
  padding: 45px;
  position: relative;
  text-align: center;
}

.testimonial-content::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--blue-primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
}

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

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.testimonial-stars {
  color: var(--yellow-warm);
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-base);
  color: var(--gray-800);
}

.slider-btn:hover {
  border-color: var(--blue-primary);
  background: var(--blue-primary);
  color: var(--white);
}

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

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition-base);
}

.slider-dot.active {
  background: var(--blue-primary);
  width: 30px;
  border-radius: 5px;
}

/* ═══════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════ */
.gallery {
  padding: var(--section-padding);
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════ */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background: var(--blue-bg);
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.contact-card:hover {
  background: var(--white);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover .contact-card-icon {
  background: var(--blue-primary);
  transform: scale(1.1) rotate(-5deg);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
  color: var(--blue-primary);
}

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 50%, var(--blue-deeper) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,215,64,0.15) 0%, transparent 60%);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 35px;
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: #0D1B2A;
  color: var(--white);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(10);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 24px;
  max-width: 280px;
}

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

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--blue-primary);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
}

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

.footer ul a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition-base);
}

.footer ul a:hover {
  color: var(--blue-light);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--blue-light);
}

/* ═══════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

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

.scroll-top:hover {
  transform: translateY(-3px) scale(1.1);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 { font-size: 2.8rem; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { max-width: 500px; margin: 40px auto 0; }

  .about-grid,
  .registration-wrapper,
  .donations-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .registration-info { position: static; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .section-title { font-size: 2rem; }
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 5px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    color: var(--gray-800) !important;
    padding: 14px 20px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover {
    background: var(--blue-bg) !important;
    color: var(--blue-dark) !important;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .donation-amounts { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .impact-grid { grid-template-columns: 1fr; }
  .donation-amounts { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
}

/* ── Toast Notification ── */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 30px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── Mobile Nav Overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

/* ═══════════ RECEIPT MODAL ═══════════ */
.receipt-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.receipt-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.receipt-container {
  position: relative; z-index: 1;
  background: #fff; border-radius: 20px;
  max-width: 480px; width: 90%; padding: 0;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}
.receipt-header {
  background: linear-gradient(135deg, #0288D1, #1565C0);
  color: white; text-align: center; padding: 28px 24px 20px;
}
.receipt-header .receipt-logo {
  width: 70px; height: 70px; object-fit: contain;
  border-radius: 50%; background: white; padding: 6px;
  margin-bottom: 10px;
}
.receipt-header h2 { margin: 0 0 4px; font-size: 1.4rem; }
.receipt-org { margin: 0; font-size: 0.9rem; opacity: 0.9; }
.receipt-body { padding: 20px 28px 10px; }
.receipt-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed #e0e0e0; font-size: 0.92rem;
  gap: 12px;
}
.receipt-row span { color: #666; }
.receipt-row strong { color: #1a1a2e; text-align: right; }
.receipt-amount-row { background: #FFF8E1; margin: 0 -28px; padding: 12px 28px; border-bottom: 1px dashed #e0e0e0; }
.receipt-amount-row strong { color: #0288D1; font-size: 1.15rem; }
.receipt-thankyou {
  text-align: center; padding: 16px 28px; color: #555; font-size: 0.85rem;
  display: flex; align-items: flex-start; gap: 8px;
}
.receipt-thankyou .fas { color: #E91E63; margin-top: 2px; flex-shrink: 0; }
.receipt-actions {
  display: flex; gap: 10px; padding: 16px 28px 24px;
  justify-content: center;
}
.receipt-actions .btn { flex: 1; justify-content: center; font-size: 0.9rem; }

@media print {
  body > *:not(.receipt-modal) { display: none !important; }
  .receipt-modal { position: static; display: block !important; }
  .receipt-overlay { display: none; }
  .receipt-actions { display: none; }
  .receipt-container { box-shadow: none; max-width: 100%; border-radius: 0; }
}

/* ═══════════ NEQUI BUTTON ═══════════ */
.btn-nequi {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #6C1FC6, #9B2FF7);
  color: white; border: none; border-radius: 50px;
  padding: 14px 20px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108,31,198,0.35);
}
.btn-nequi:hover {
  background: linear-gradient(135deg, #5a18a8, #8520e0);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108,31,198,0.5);
  color: white;
}

/* ═══════════ UPLOAD COMPROBANTE ═══════════ */
.upload-comprobante {
  display: flex; align-items: center; gap: 10px;
  border: 2px dashed #b0c4de; border-radius: 12px;
  padding: 14px 18px; cursor: pointer;
  background: #f4f8ff; color: #0288D1; font-weight: 600;
  transition: all 0.3s ease; font-size: 0.92rem;
}
.upload-comprobante:hover {
  border-color: #0288D1; background: #e3f2fd;
}
.upload-comprobante.has-file {
  border-color: #4CAF50; background: #f1f8f1; color: #2e7d32;
}
.upload-comprobante i { font-size: 1.3rem; flex-shrink: 0; }
