: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%;
  }
}


/* Welcome Section */
.welcome-section {
    background: white;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.welcome-title {
    font-size: 2.5rem;
    color: var(--morado-principal);
    margin-bottom: 30px;
    font-weight: 600;
}

.welcome-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--texto);
}

.discount-badge {
    background: linear-gradient(45deg, var(--morado-secundario), var(--morado-principal));
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(159, 7, 186, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.discount-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(159, 7, 186, 0.4);
}

/* Stats Section */
.stats-section {
    background: var(--gris-claro);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

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

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--morado-principal);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--texto);
    font-weight: 500;
}

/* Services Section */
.services-section {
    background: white;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--morado-principal);
    margin-bottom: 60px;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--gris-claro);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    background: white;
    border-color: var(--morado-secundario);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-title {
    font-size: 1.4rem;
    color: var(--morado-principal);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: var(--texto);
    line-height: 1.6;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--morado-principal) 0%, var(--morado-oscuro) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.impact-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.impact-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: var(--gris-claro);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--morado-principal);
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--texto);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--texto);
}

.contact-icon {
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(45deg, var(--morado-principal), var(--morado-secundario));
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(159, 7, 186, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(159, 7, 186, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--morado-principal);
    border: 2px solid var(--morado-principal);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cta-button.secondary:hover {
    background: var(--morado-principal);
    color: white;
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--morado-secundario);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.info-title {
    font-size: 1.3rem;
    color: var(--morado-principal);
    margin-bottom: 15px;
    font-weight: 600;
}

.info-description {
    color: var(--texto);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Methodology Section */
.methodology-section {
    background: white;
    padding: 80px 0;
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step:hover {
    background: var(--gris-claro);
    transform: translateX(10px);
}

.step-number {
    background: linear-gradient(45deg, var(--morado-principal), var(--morado-secundario));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--morado-principal);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    color: var(--texto);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.2rem;
    }
    
    .welcome-title,
    .section-title,
    .impact-title,
    .cta-title {
        font-size: 2rem;
    }
    
    .stats-grid,
    .services-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step:hover {
        transform: translateY(-5px);
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 250px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}