.hero-cursos {
    /* Configuración de la imagen de fondo */
    background-image: url('img/Preparacio%CC%81n%20set.jpeg'); /* Cambia por tu ruta de imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efecto parallax opcional */
    
    /* Dimensiones y disposición */
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Estilos de texto */
    color: white;
    text-align: center;
    position: relative;
    padding: 0 20px;
    
    /* Efectos visuales */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4); /* Overlay moderno */
  }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  background-color: transparent !important; /* Fuerza transparencia */
  box-shadow: none !important; /* Elimina sombras */
  padding: 0; /* Opcional: ajusta si necesitas espacio */
}
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  }
  
  .hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
  }
  
  /* Animación para el contenido */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Versión responsive */
  @media (max-width: 768px) {
    .hero-cursos {
      height: 60vh;
      min-height: 400px;
      box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    }
    
    .hero-content h1 {
      font-size: 2.2rem;
    }
    
    .hero-content p {
      font-size: 1.2rem;
    }
  }
/* Proceso de inscripción */
.proceso-inscripcion {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.proceso-inscripcion h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.4rem;
  margin-bottom: 3rem;
  font-weight: 600;
}
.btn-inscripcion,
.btn-pdf,
.btn-contacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}
.pasos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.paso {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.paso:hover {
  transform: translateY(-5px);
}

.paso-numero {
  width: 50px;
  height: 50px;
  background-color: #8e44ad;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.paso p {
  color: #555;
  line-height: 1.6;
}

.direccion {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 2rem;
  padding: 1rem;
  background-color: white;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.direccion i {
  color: #8e44ad;
  margin-right: 0.5rem;
}

/* Cursos disponibles */
.cursos-disponibles {
  padding: 4rem 0;
  background-color: white;
}

.cursos-disponibles h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.4rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.curso-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
  overflow: hidden;
  border: 1px solid #eee;
}

.curso-header {
  background-color: #2c3e50;
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.curso-header h3 {
  margin: 0;
  font-size: 1.5rem;
  flex: 1;
}

.modalidad {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-left: 1rem;
}

.modalidad.presencial {
  background-color: #27ae60;
}

.modalidad.online {
  background-color: #3498db;
}

.modalidades {
  display: flex;
  gap: 0.5rem;
}

.curso-content {
  display: flex;
  padding: 2rem;
  gap: 2rem;
}

.curso-info {
  flex: 2;
}

.curso-precios {
  flex: 1;
  border-left: 1px solid #eee;
  padding-left: 2rem;
}

.instructor h4, .fechas h4, .temario h4, .material h4, .curso-precios h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid #8e44ad;
  padding-bottom: 0.3rem;
  display: inline-block;
}

.instructor p, .fechas p {
  color: #555;
  margin-bottom: 1.5rem;
}

.temario ul, .material-lista {
  list-style-type: none;
  padding-left: 0;
}

.temario li, .material-lista p {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #555;
  line-height: 1.6;
}

.temario li:before {
  content: "•";
  color: #8e44ad;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

.precios-lista {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.precios-lista li {
  margin-bottom: 0.8rem;
  color: #555;
}

.precios-lista span {
  font-weight: bold;
  color: #2c3e50;
}

.promocion {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #8e44ad;
}

.promocion p {
  margin: 0.5rem 0;
  color: #555;
  font-size: 0.95rem;
}

.promocion strong {
  color: #2c3e50;
}
 .inscripciones {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Previene desbordamiento */
  }

  .abiertas {
    font-weight: bold;
    color: #e74c3c;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
  }

  .contacto-info {
    margin: 15px 0;
  }

  .contacto-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
  }

  .correo {
    word-break: break-all; /* Rompe palabras largas (correos) */
    overflow-wrap: break-word; /* Alternativa para algunos navegadores */
  }

  .nota {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
  }

  /* Estilos para móviles */
  @media (max-width: 768px) {
    .inscripciones {
      padding: 15px;
      margin: 15px 0;
    }

    .abiertas {
      font-size: 16px;
    }

    .contacto-info p {
      font-size: 14px;
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }

    .contacto-info i {
      margin-right: 5px;
    }
  }

  @media (max-width: 480px) {
    .contacto-info p {
      word-break: break-word;
    }

.nota-final {
    background-color: #e8f5e9;
    border-left: 5px solid #27ae60;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Borde redondeado solo en PC */
    border-radius: 0;
  }

  .nota-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  }

  .nota-contenido {
    position: relative;
    z-index: 2;
  }

  .nota-final h4 {
    color: #27ae60;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
  }

  .nota-final h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #27ae60;
  }

  .nota-final p {
    color: #34495e;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
  }

  .nota-icono {
    text-align: center;
    margin: 1rem 0;
    opacity: 0.8;
  }

  /* Efecto de fondo decorativo */
  .nota-final:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    z-index: 1;
  }

  /* Versión PC - bordes redondeados */
  @media (min-width: 1024px) {
    .nota-final {
      border-radius: 12px;
      border-left: none;
      border: 2px solid rgba(39, 174, 96, 0.2);
    }
    
    .nota-final:hover {
      border-color: rgba(39, 174, 96, 0.4);
    }
  }

  /* Responsive para tablets y móviles */
  @media (max-width: 1023px) {
    .nota-final {
      padding: 1.5rem;
      margin: 1.5rem 0;
      border-left: 5px solid #27ae60;
      border-radius: 0;
    }

    .nota-final h4 {
      font-size: 1.3rem;
    }

    .nota-final p {
      font-size: 1rem;
    }
  }

/* Responsive */
@media (max-width: 992px) {
  .curso-content {
    flex-direction: column;
  }
  
  .curso-precios {
    border-left: none;
    border-top: 1px solid #eee;
    padding-left: 0;
    padding-top: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-cursos {
    padding: 4rem 1rem;
    min-height: 50vh;
  }
  
  .hero-cursos h1 {
    font-size: 2.4rem;
  }
  
  .hero-cursos p {
    font-size: 1.2rem;
  }
  
  .pasos-container {
    grid-template-columns: 1fr;
  }
  
  .curso-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modalidad, .modalidades {
    margin: 0.5rem 0 0 0;
  }
}

@media (max-width: 576px) {
  .proceso-inscripcion h2, .cursos-disponibles h2 {
    font-size: 2rem;
  }
  
  .curso-content {
    padding: 1.5rem;
  }
  
  .temario li, .material-lista p {
    font-size: 0.95rem;
  }
}

  .promocion-destacada {
      padding: 2rem 0;
      background-color: #f8f9fa;
    }
    
    .promo-banner {
      background: linear-gradient(135deg, #8e44ad, #9b59b6);
      color: white;
      border-radius: 8px;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .promo-banner h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    
    .promo-banner p {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }
    
    .promo-fecha {
      font-weight: bold;
      font-size: 1.3rem;
      margin: 1rem 0;
      color: #f1c40f;
    }
    
    .promo-cta .btn-inscripcion {
      background-color: #f1c40f;
      color: #2c3e50;
      font-weight: bold;
      padding: 0.8rem 2rem;
      display: inline-block;
      margin-top: 1rem;
    }
    
    .promo-cta .btn-inscripcion:hover {
      background-color: #f39c12;
    }
}


.proceso-inscripcion {
    padding: 40px 0;
    background-color: #f8f9fa;
    overflow: hidden; /* Previene desbordamiento */
  }
  
  .proceso-inscripcion .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Añade padding para móviles */
    box-sizing: border-box; /* Incluye padding en el ancho */
  }
  
  .proceso-inscripcion h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
  }
  
  .pasos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .paso {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  
  .paso-numero {
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .paso-contenido {
    flex: 1;
  }
  
  .paso p {
    margin-bottom: 15px;
    color: #34495e;
    line-height: 1.5;
  }
  
  .grupo-boton {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .btn-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #e74c3c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
  }
  
  .btn-pdf:hover {
    background: #c0392b;
  }
  
  .texto-ayuda {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
  }
  
  .correos {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
  }
  
  .correos span {
    word-break: break-all; /* Para evitar desbordamiento de emails */
  }
  
  .direccion {
    margin-top: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2c3e50;
    font-size: 16px;
    flex-wrap: wrap;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .pasos-container {
      flex-direction: column;
      gap: 15px;
    }
    
    .paso {
      width: 100%;
      min-width: auto;
    }
    
    .proceso-inscripcion h2 {
      font-size: 24px;
    }
    
    .direccion {
      font-size: 14px;
      flex-direction: column;
      text-align: center;
    }
    
    .direccion i {
      margin-bottom: 5px;
    }
    }