:root {
  --morado-principal: #9f07ba;
  --morado-secundario: #c96de0;
  --morado-oscuro: #740389;
  --gris-claro: #f7f7f7;
  --texto: #333;
}

/* HERO */
.hero-section {
  background: linear-gradient(135deg, var(--morado-principal), var(--morado-secundario));
  color: white;
  padding: 100px 40px 80px;
  text-align: center;
}


.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
      font-weight: 700;
    font-size: 50px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fffdfd;
}

.hero-text p {
 
 font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #fffdfd;
    text-align: justify;
    margin-bottom: 25px;
}


.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--morado-principal);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: var(--morado-oscuro);
  color: white;
}.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto; /* Centra la imagen en pantallas pequeñas */
}
@media (max-width: 768px) {
  .hero-image {
    text-align: center;
    margin-top: 30px;
  }

  .hero-image img {
    max-width: 90%;
  }
}


 /* -------------------------------------------------Stats Section */
        .stats {
            background: #f8f9fa;
            padding: 4rem 2rem;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            text-align: center;
        }

        .stat-item {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            color: #9c27b0;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 1.1rem;
            color: #666;
        }

      
    .section {
            padding: 6rem 0;
        }

        .impact {
            background: linear-gradient(180deg, var(--gris-claro) 0%, #e8e8e8 100%);
            position: relative;
        }

     .impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* responsive */
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas desde escritorio en adelante */
    }
}


        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 900;
            text-align: center;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-oscuro));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            font-size: 1.2rem;
            text-align: center;
            color: #64748b;
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .impact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .impact-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .impact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--morado-principal), var(--morado-secundario));
        }

        .impact-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .impact-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-secundario));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 10px 25px rgba(159, 7, 186, 0.3);
        }

        .impact-icon i {
            font-size: 2rem;
            color: white;
        }

        .impact-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--texto);
        }

        .impact-description {
            color: #64748b;
            line-height: 1.7;
            font-size: 1rem;
        }

        /* Gallery Section */
        .gallery {
            background: linear-gradient(
              
            );
            color: rgb(0, 0, 0);
        }

        .gallery .section-title {
            color: rgb(194, 27, 216);
            -webkit-text-fill-color: rgb(100, 8, 100);
        }

        .gallery .sectios-subtitle {
            color: rgba(255, 255, 255, 0.8);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .gallery-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            aspect-ratio: 16/10;
            cursor: pointer;
            transition: all 0.3s ease;
        }

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

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

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            padding: 2rem;
            transform: translateY(100%);
            transition: all 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .gallery-overlay p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
        }

        /* Info Cards Section */
        .info-section {
            padding: 6rem 0;
            background: var(--gris-claro);
        }

        .info-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .info-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border-left: 4px solid var(--morado-principal);
        }

        .info-card h3 {
            color: var(--texto);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .info-card p {
            color: #64748b;
            line-height: 1.7;
        }

        .info-card ul {
            list-style: none;
            padding-left: 0;
        }

        .info-card li {
            color: #64748b;
            margin-bottom: 0.5rem;
            padding-left: 1.5rem;
            position: relative;
        }

        .info-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--morado-principal);
            font-weight: bold;
        }

        /* Animations */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
            }

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

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

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

            .floating-nav {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .stats-container {
                grid-template-columns: 1fr;
            }
        }

      

        /* Pulse animation for CTA */
        @keyframes pulse {
            0% {
                box-shadow: 0 8px 25px rgba(159, 7, 186, 0.3);
            }
            50% {
                box-shadow: 0 8px 25px rgba(159, 7, 186, 0.6);
            }
            100% {
                box-shadow: 0 8px 25px rgba(159, 7, 186, 0.3);
            }
        }

        .cta-button {
            animation: pulse 2s infinite;
        }